if (flag > 0)
{
Response.Write("<script>alert('删除成功!');</script>");
Response.Redirect("Default2.aspx");
}
else
{
Response.Write("<script>alert('删除失败!');</script>");
Response.Redirect("Default2.aspx");
}
为什么js不执行?
{
Response.Write("<script>alert('删除成功!');</script>");
Response.Redirect("Default2.aspx");
}
else
{
Response.Write("<script>alert('删除失败!');</script>");
Response.Redirect("Default2.aspx");
}
为什么js不执行?
解决方案 »
- 实体类数据被缓存,导致各客户端加载到最后一次其他用户操作数据,急,在线等
- 自动产生<title> </title>
- javascript:parent.frames.rightFrame.relogin();是什么意思?
- sql语句怎样取出--12qw3(字符串数目不定)--中的字符串12qw3??谢谢!
- 树的删除?
- wap 分页技术
- 大家好!有没有人做过登陆验证的啊!
- 关于“基础连接已经关闭: 无法解析此远程名称。”的问题。
- 根据需求报价.
- ASP.NET中的GridView显示部分数据,其他用。。。代替
- (急)windows 2003配置web服务器
- 讨论:如果把P2P技术应用到网站的访问上会怎么样?
{
Response.Write(" <script>alert('删除成功!'); </script>");
Response.Write("<script>window.location.replace('Default2.aspx')</script>");
}
else
{
Response.Write(" <script>alert('删除失败!'); </script>");
Response.Write("<script>window.location.replace('Default2.aspx')</script>"); }
{
Response.Write(" <script>alert('删除成功!'); </script>");
Response.Write("<script>window.location.replace('Default2.aspx')</script>");
}
else
{
Response.Write(" <script>alert('删除失败!'); </script>");
Response.Write("<script>window.location.replace('Default2.aspx')</script>"); }
原来是这样啊 以前也碰到过这样的问题.