Quote:
when user clicks on login i want it to redirect to default.aspx with their username and information
and in deep i want the gridview attached to the login
As far as I understand, you want to keep user details after login so that on the next page, you can identify the user and show some data on
GridView
accordingly.
If I am correct on this, then you need to use
Session to store the
UserName
, after successful login. Then on the second page check the
Session variable and use that value of
Session to retrieve records from database and bind that to the Grid.