I am doing a project on c#.net using sql server 2005.
I have a login.aspx and homepage.aspx. I want to save value of textbox “username” from login.aspx and want it to be displayed on homepage.aspx using label control.
Also, I am using .net’s inbuilt login control and dont know how to access the database/table created automatically by .net. So will you also tell me that?
Please help me.
Thanks in advance,
Nikhil
If you are using the asp.net login system then you can use the
<asp:LoginName />control:If you want to access this information via code you can use: