c# - How to get value of text box from 1 aspx page to another -
i doing project on c#.net using sql server 2005.
i have login.aspx , homepage.aspx. want save value of textbox "username" login.aspx , want displayed on homepage.aspx using label control.
also, using .net's inbuilt login control , dont know how access database/table created automatically .net. tell me that?
please me.
thanks in advance, nikhil
if using asp.net login system can use <asp:loginname />
control:
if want access information via code can use:
string username = httpcontext.current.user.identity.name;
Comments
Post a Comment