check User variable's value... |
| Vasanthakumar D replied to shreya verma at 12-May-08 12:58 |
Hi,
if (DDRole12==User)
{
Response.Redirect("EmployeeProfile.aspx?empid=" + txtUserID.Text);
}
else if (DDRole12!=User)
{
Response.Redirect("EmployeeView.aspx?empid=" + txtUserID.Text);
}
in the above code User variable contains what value?....
and from your code DDRole12 is a dropdown list... you cannot check this..
try
if(DDRole12.Text == User)
give some more details...
|
|