K
Kerri
Hi,
I have an aspx page with some server side textboxes.
I have a button onmy page which allows users to add data
to a database.
In my onclick event for my button when I try and get teh
value from the textbox using..
Dim myString as String = textbox1.text
...it is blank.
When I do a..
Dim myString = Request.Form("textbox1")
...I get the value the user enetered.
I have declared my textbox as a control in my codebehind.
And it is an asp.net textbox.
Any ideas why this is?
This is baffling me.
Kerri.
I have an aspx page with some server side textboxes.
I have a button onmy page which allows users to add data
to a database.
In my onclick event for my button when I try and get teh
value from the textbox using..
Dim myString as String = textbox1.text
...it is blank.
When I do a..
Dim myString = Request.Form("textbox1")
...I get the value the user enetered.
I have declared my textbox as a control in my codebehind.
And it is an asp.net textbox.
Any ideas why this is?
This is baffling me.
Kerri.