In the login page you can create a session after checking the user has provided the correct username and pasword
Session["username"] = txt_username.Text;
Session["password"] = txt_password.Text;
There after in every page you need to check if the user has been logged in or not , you can do this by checking the session values. So write the following code in every page load event which only logged in users should see.
if(Session["username"] == null || Session["password"]== null)
{
Response.Redirect("Login.aspx");
}
else
{
}
This is just a small example for lgin process. You should implement proper methods to avoid security breaches like SQL injection and others.
Hope this will help you out.
Let me know in case of any doubts.