tags:

views:

25

answers:

2

how do i put text in a text box that shows up on start i used the following but it dont work?

    TextBox1.Text = "enter your name here!"

the text box remains empty?

ta-

+1  A: 

try TextBox1.Value = "enter your name here!"

bemace
Nope tryed that before but get the error Value is not a member of "system.windows.forms.textbox
jason
+2  A: 

you must do the code on form_load. Set the text property to "enter your name here" as you already have.

TextBox1.Text = "enter your name here!"
Paul R.