Account.aspx的PageLoad事件中:
ApplicationAssert.Check(Customer != null, "No Customer at Account Edit", ApplicationAssert.LineNumber);
起的是什么作用?
ApplicationAssert.Check(Customer != null, "No Customer at Account Edit", ApplicationAssert.LineNumber);
起的是什么作用?
解决方案 »
- ASP.NET]DataPager的样式如何控制呢?
- WPF 中 DataGrid 的列怎么样可以去除特殊字符呢?
- 用 VS 2003 创建ASP.NET WEB应用程序时出现错误 事件查看器如下提示应该怎么解决?
- "/"应用程序中的服务器错误.
- 关于cryster repoter的问题
- 财付通接口问题,哪个好心人来帮帮我.................
- 有关DataGrid和Image绑定的问题
- 初学者请教。三层 读取数据DataRow读取数据
- 打包时系统说windows系统文件保护,大虾帮忙
- 我自己写的一个类,用于数据库连接并抛出异常,但是抛出异常部分不知道怎么写。
- 关于获取数据的问题
- 请教:网页间传递变量用什么方法好?在线等!
2的问题: 是因为Check() 这个函数是静态公有函数 以下为示例:
class ApplicationAssert
{
public static bool Check( object obj,string errMessage,int lineNumber)
{
}
}
有了static 关键字就可以不用实例化了.