CodeFile与CodeBehind的区别
摘要:
CodeFile与CodeBehind的区别CodeBehind指定包含与页关联的类的已编译文件的名称。该属性不能在运行时使用。Specifies the name of the compiled file that contains the class associated with the control. This attribute is not used at run time.指定包含与页关联的类的已编译文件的名称,编译完后所有cs中的代码打包进dll.该属性不能在运行时使用.提供此属性是为了与以前版本的 ASP.NET 的兼容,以实现代码隐藏功能。CodeFile指定指向页引用的 阅读全文
posted @ 2012-11-06 11:54 Crystalball 阅读(186) 评论(0) 推荐(0) 编辑