Everyone,I must launch my code, The first way:
Response.Write("<script>alert('Succeed,Will be redirect to the target page')</script>");
string path = Server.MapPath(@"~\Forms\MainForm_SQL.aspx");
Response.Redirect(path);
The second way:
Response.Write("<script>alert('Succeed,Will be redirect to the target page')</script>");
Server.Transfer(@"~\Forms\MainForm_SQL.aspx");
Now,back to the issue,The question is :
01)it works nothing when using the 'first way',That is, it either alerts the message nor goes into the 'Page_Load' of the target page.
02),when use the second way,it first goes into the 'Page_Load' of the target,than it goes back to alert the message.
why it that so unreachable to track the architecture ? can some one help me please? thanks.