we cannot write response.redirect in cs file to redirect different page , here i write the code from this code we can redirect different page from .cs file.
System.Web.HttpContext.Current.Response.Redirect("ErrorPage.aspx");
where ErrorPage is your page which is use in web application.
System.Web.HttpContext.Current.Response.Redirect("ErrorPage.aspx");
where ErrorPage is your page which is use in web application.
thanku very much..
ReplyDeleteGood...
ReplyDeleteNot working at all
ReplyDeleteNot Working at all :(
ReplyDelete