当执行Page.Response.Redirect("default.aspx",true);时
出错如下:
System.Threading.ThreadAbortException: 绾跨▼姝h涓銆? at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at Shopping.logon.Button1_Click(Object sender, EventArgs e) in e:\shopping\regist.aspx.cs:line 87之前操作了一次数据库,那几个中国字也是出错信息里面的,好象是线程问题,不懂,请指教.
谢谢
出错如下:
System.Threading.ThreadAbortException: 绾跨▼姝h涓銆? at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) at System.Web.HttpResponse.End() at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at Shopping.logon.Button1_Click(Object sender, EventArgs e) in e:\shopping\regist.aspx.cs:line 87之前操作了一次数据库,那几个中国字也是出错信息里面的,好象是线程问题,不懂,请指教.
谢谢
解决方案 »
- Ext BorderLayout布局嵌套问题.【急!!】
- 高效分页中因DataTable在几百万数据时速度太慢现在想换成SqlDataReader,出了点小问题请高手帮忙看看
- GridView控件的问题?
- 初学做项目的困惑
- 提问:有一个框架页[default.aspx],分成左右两块,分别嵌入了两个aspx页面.
- DataGrid 问题 ?索引超出范围。必须为非负值并小于集合大小。参数名: index
- word题库如何导入数据库
- 在线等,用<%#%>绑定数据,有一个问题请教各位?
- 外包项目遭受商业诈骗,大家帮忙想个办法啊.谢谢了
- 怎么样让文本框在每次提交后不保留前一次输入的值?
- 大家来讨论一下"未指定的错误"吧~___________(100分相送)
- 为什么老是提示 Runtime Error 错误???
Application_Custom appCustom=new Application_Custom();
try
{
if(
appCustom.InsertCustom(TextBox1.Text,TextBox2.Text,TextBox3.Text,
TextBox4.Text,TextBox5.Text,
TextBox6.Text,out custom)
)
{
Session["S:Custom"]=custom;
this.Label7.Text="用户注册成功,系统会在2秒钟后跳转到上次登陆的界面";
Page.Response.Redirect("default.aspx",true);
}
else
{
Response.Write("wrong");
}
}
catch(Exception ee)
{
Page.Response.Write(ee.ToString()); }