Select from following answers:- Using Request Form collection and name property.
- Using runat = "server" property.
- Both a and b
- None of these
- All Above
we can access the HTML Select DropDownList selected value in Asp.Net code behind in 2 ways by using
Request Form collection and
runat = "server" property.
<input id = txtname" name = "txtname" type = "textbox"/>
string value = Request.Form["txtname"];
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator