必须重定向到指定页面 [英] have to redirect to specified page
本文介绍了必须重定向到指定页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在警报框中显示消息后...必须重定向到指定页面..hw,应将其编码为
after displaying the message in alert box...it has to redirect to specified page..hw it should be coded
推荐答案
string msg = MessageBox.Show("You should Log In first to access the content of the site","",MessageBoxButtons.OKCancel).ToString();
if(msg=="OK")
{
Response.Redirect("Login.aspx");
}
这篇关于必须重定向到指定页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文