下面是我的代码
IMG http://imageshack.us/a/img812/7017/98qq.jpg
当我点击页面中的“提交”按钮时,我必须获取下拉列表值并将其发送到另一个页面。
我已经关注了 link !为此
当我尝试运行我的代码时出现错误
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
堆栈跟踪:
IMG http://imageshack.us/a/img534/9554/opdu.jpg
谁能告诉我错误是什么
最佳答案
在我的例子中,我创建了一个新项目,当我第一次运行它时,它给了我以下错误:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
所以我的解决方案是转到 Visual Studio 中的 Package Manager Console 并运行:Update-Package
问题解决了!!
关于c# - 当前网络请求执行过程中产生了未处理的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20083144/