Posted on: 5/15/2015 12:30:13 PM | Views : 624

Hi,
I have only 2 aspx page. login.aspx and mygrid.aspx page. First user have to be login to get to the mygrid.aspx page. Below my code shows that I did everything expect when I click second gridview page I get.  401.2. error. Here is my code.
if (dt.Rows.Count > 0) { //ReDirect to mygird.aspx page Server.Transfer("mygird.aspx", true); } else { lblResult.Text = "User & Password are wrong, try again..."; } And mygird.aspx code:
protected void Page_Load(object sender, EventArgs e) { if ( ...

Go to the complete details ...