I know I have a similar question but I selected a answer as correct before I actually tested it since technically they were correct I was trying to use .text.
I have html control and im trying to get the input value from the user however for some reason even though I have data when I debug that line it just shows ""
<input runat="server" id="Name" type="text" name="Name"/>
cmd.parameters.addwithvalue("@NAME", Name.value);
name.value never has a value no matter what I put in the input name control.