阅读背景:

尝试在asp.net中的异步函数中的catch处理程序mvc5在chrome和IE11中表现不同

来源:互联网 

I have a asp.net mvc project which uses Entity Framework 6.The index page fetches records in a gridMVC. I have an add a new record button on top to add new record which opens up in a bootstrap modal popup. Everything works fine till the user tries to enter duplicate records. Below is the code where I have done exception handling that whenever the adding fails, it should throw an exception which will display an alert box to user to notify him about adding duplicate records.I have a asp.net mvc project which uses Entity




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: