3
Answers

Transfering username from login page to another webpage

Photo of naman kaushal

naman kaushal

12y
2.5k
1

Hi all
i am making a website in visual stusio 2010 and i am using  C# with sql server 2008

I have a login page .when the user enters the correct username and password and if the credentials exists in the Sql server database it redirects me to the next page.
i need to populate  a label on the redirected page which shows the name of the person who logged in For example the label will show" Welcome Name".
the table which i have in sql server contains the Name,Username and password. how to get the Name from the table to display it in the label on the next page.


 


 

Answers (3)