NameValueCollection nvc = Request.Form;
string userName, password;
if (!string.IsNullOrEmpty(nvc["txtUserName"]))
{
userName = nvc["txtUserName"];
}
if (!string.IsNullOrEmpty(nvc["txtPassword"]))
{
password = nvc["txtPassword"];
}
I have created this blog to help programmers who have just started their career thats why I have written all the tutorials from practical approach rather then theoretical. If anyone has any query related to programming don't hesitate to ask. My contact information is in my profile. Also I would like to thank all the websites/Individual(s) from whom I gathered the material.
Monday, June 20, 2011
Read ASP.NET Posted Form Data
Posted by
Zeeshan Ahmed Khan
at
6/20/2011 11:09:00 AM
Labels:
asp.net,
NameValueCollection,
posted data
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment