如:public static int XXX(string name){try { i = Convert.ToInt32( SqlHelper.ExecuteScalar(SqlHelper.ConnectionString, System.Data.CommandType.StoredProcedure, "xxx", new SqlParameter("@name", name)) ); } catch (Exception ex) { throw ex; }return i; } 还是在业务层去捕获?
- 2 回答
- 0 关注
- 437 浏览
添加回答
举报
0/150
提交
取消