try this...

Vasanthakumar D replied to shreya verma at 08-May-08 12:33

Hi,

try this code...

protected void btnLogin_Click(object sender, EventArgs e)

{

if (DDRole.SelectedValue == "User")

{

Session["userType"] = "User";

}

else

{

Session["userType"] = "Officer";

}

Response.Redirect("EmployeeProfile.aspx?EmployeeId=" + current employeeId);

}


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 12:15:23 AM
      Re: - Aravind Kumar  08-May-08 12:29 12:29:02 AM
          Plz tell... - shreya verma  08-May-08 12:33 12:33:29 AM
              In this way... - santhosh kapa  08-May-08 12:57 12:57:48 AM
                  tell - shreya verma  08-May-08 01:07 1:07:16 AM
                      it will... - santhosh kapa  08-May-08 01:13 1:13:08 AM
                          no - shreya verma  08-May-08 01:29 1:29:08 AM
                              hmm...confused - santhosh kapa  08-May-08 01:41 1:41:19 AM
      try this... - Vasanthakumar D  08-May-08 12:33 12:33:14 AM
      Try this - Sujit Patil  08-May-08 12:46 12:46:02 AM
          What to do??? - shreya verma  08-May-08 01:11 1:11:51 AM
              try this... - santhosh kapa  08-May-08 01:16 1:16:36 AM
              You can - Sujit Patil  08-May-08 02:12 2:12:26 AM
      If you are using Forms Authentication - Vaibhav Gadodia  08-May-08 01:08 1:08:32 AM
      See This - Sanjay Verma  08-May-08 06:18 6:18:36 AM
View Posts