-
Create new Connection from server explorer right click new connection.
-
Copy connection string in Web.config file
-
SqlConnection obj
-
SqlCommand
-
SqlDataReader
- User (Id , UserName, Email , Password)
- Task
As Http is stateless so we have to use session to preserve the state between to request. Session["Key"] = value; value is object.
GridView bind with SqlDataSource