We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NewsEdit.aspx.cs文件中,在方法btnEdit_Click中调用了newsHandler的Insert方法,而Insert方法有可能会抛出异常InsertException,因此请将newsHandler.Insert()语句放到一个try块中,并且写出相应的catch代码捕抓异常。 同样,在UserManage.aspx.cs中,调用了userHandler的Delete方法,该方法可能会抛出DeleteException异常,请将语句userHandler.Delete()放到一个try块中,并写出相应的catch代码。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NewsEdit.aspx.cs文件中,在方法btnEdit_Click中调用了newsHandler的Insert方法,而Insert方法有可能会抛出异常InsertException,因此请将newsHandler.Insert()语句放到一个try块中,并且写出相应的catch代码捕抓异常。
同样,在UserManage.aspx.cs中,调用了userHandler的Delete方法,该方法可能会抛出DeleteException异常,请将语句userHandler.Delete()放到一个try块中,并写出相应的catch代码。
The text was updated successfully, but these errors were encountered: