use C# coding to html controls in asp.netTGTharake Gunatilake13yAsked Apr 17, 2013, 4:09 AM1.6k.NETI have created a .aspx web page and in the page i put html text areas a and a html button..I want to get the values of the text areas in to variables.Anybody please help me..Thank you.
GUGuest User13y agoPosted Apr 17, 2013, 5:22 AMAssuming your textbox has an ID of TextBox1 thenvar temp = TextBox1.Text;This will capture the text that has been input into the text box.0
Guest UserPosted Apr 17, 2013, 5:22 AM
var temp = TextBox1.Text;
This will capture the text that has been input into the text box.