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";

}

 

}




Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Tell this.... - shreya verma  08-May-08 12:15:23 AM
      Re: - Aravind Kumar  08-May-08 12:29:02 AM
          Plz tell... - shreya verma  08-May-08 12:33:29 AM
              In this way... - santhosh kapa  08-May-08 12:57:48 AM
                  tell - shreya verma  08-May-08 1:07:16 AM
                      it will... - santhosh kapa  08-May-08 1:13:08 AM
                          no - shreya verma  08-May-08 1:29:08 AM
                              hmm...confused - santhosh kapa  08-May-08 1:41:19 AM
      try this... - Vasanthakumar D  08-May-08 12:33:14 AM
      Try this - Sujit Patil  08-May-08 12:46:02 AM
          What to do??? - shreya verma  08-May-08 1:11:51 AM
              try this... - santhosh kapa  08-May-08 1:16:36 AM
              You can - Sujit Patil  08-May-08 2:12:26 AM
      If you are using Forms Authentication - Vaibhav Gadodia  08-May-08 1:08:32 AM
      See This - Sanjay Verma  08-May-08 6:18:36 AM
View Posts