how to use html input text in aspx.cs page without using runat="server"
Default.aspx:
Default.aspx.cs:
string aa="hello";
txtname.value =aa; ---> how to use
//string value pass to textbox how?
//how to call this txtname(textbox) in cs page ?
Reply me quick....................
help me plzzzzzzzzzzzzzzzzzz
How to use html input text in C#
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 22, 2013, 9:09 PM EDT
Here it is
string data=Request.Form["txtname"];
Regards,
Iftikar
rasul moh64 reputationPosted Aug 22, 2013, 11:30 PM EDT
ASPX Page:
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 22, 2013, 11:57 PM EDT
public string Data;
in your code
Regards,
Iftikar