Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move values to a text box in a web form

Status
Not open for further replies.

rushdib

Programmer
Jun 12, 2001
203
US
Hi,
How do I move a value to a text box in a aspx page using script? In vb code, I can say textbox.text = "Hello". How do I do that in the HTML (aspx) page? I am very new to web development.

Thank you,

Rushdi
 
if you are using the server textbox control you can do the same thing in the code behind... using textbox.Text="Hello";

on the HTML side
<asp:TextBox runat=&quot;server&quot; id=&quot;TextBox1&quot; Text=&quot;Hello&quot;/>

C# syntax there...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top