Tell this.... |
| shreya verma posted at 08-May-08 12:15 |
Could u Plz help me for this, I have Login Pag in that i have Userid and password along with i have dropdown control(in which there are two type of users one is one is User and other one is officer). ques is how to open the employee profile page after clicking on the login page. i have session variable see it.
protected void btnLogin_Click(object sender, EventArgs e)
{
if (DDRole.SelectedValue == "User")
{
Session[ "userType"] = "User";
}
else
{
Session[ "userType"] = "Officer";
}
} |
|