Frank Feng

Friday, April 22, 2005

Using POST when you want to submit data from html page to .aspx page

Donot know why!!! Since in asp, we can use either POST or GET.

<...input id="mytext" name="mytext"...>

<...input type="submit" value="Submit Query" text="Search"...>


string txt = Request.Form["mytext"];

0 Comments:

Post a Comment

<< Home