seePRB: ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer
http://support.microsoft.com/default.aspx?scid=KB;EN-US;312629
http://support.microsoft.com/default.aspx?scid=KB;EN-US;312629
解决方案 »
- 这个问题我不知写什么标题好…反正是求帮忙…………!!
- 在aspnet中如何使多个TextBox都调用同一JS
- GridView排序问题,
- RadioButtonList问题
- 数据绑定后的编辑效果显示太难看了
- 如何提取字符串350g*1*6中的数字和*并算出结果350×1×6=2100
- 新手求教?asp.net 2005 里能用 Datatime 吗
- 请问从SQL中取出两个时间,怎么求差几天啊
- string ColumnCode = ((Label)e.Item.Cells[2].Controls[0]).Text.ToString();//此栏目编码,为什么这么写报错?
- 请问如何将光标设置到某个TextBox下?
- DataList分页问题,只剩40分了
- 搞不懂oledbdatareader和OleDbDataAdapter之间的区别?
后加:
return;
试试。
同样的道理,如果在try 中用 response.redirect 同样会出错。你可以设置一个变量a,设置 a 的值,当 try .. catch.. 执行完毕后,判断a 的值来进行下一步操作,这样就不会错了。