Thank,
I have a some purpose, so I must use Request.Form to get some value.
I have tried below codes:
in a button's onClick event
TextBox1.Text="Hellow";
in the FormLoad event:
string myString = Request.Form["TextBox1"];
Label1.Text = myString;
But the the myString return null.
How can I do that?
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
¼¶¼g
©ó¶l¥ó·s»D:eD0N4P#
[email protected]...
You can still use Request.Form
but typically you'd used a web control, such as an <asp:textbox id="name"
runat="server" />
and just access the value via name.Text
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)