摘要: Inherits、Src、CodeBehind在 ASP.NET 中使用代码隐藏方法来设计Web 窗体,可使页代码能够更清晰地从 HTML 内容中分离到完全单独的文件中。通常一个 @page 指令如下:<%@ Page language="c#" Codebehind="WebForm1.aspx.cs"Inherits="WebApplication1.WebForm1" %>其中有三个属性(Inherits、Src、CodeBehind)非常容易混淆,下面分别给予说明。InheritsInherits 属性用于定义当前 阅读全文
posted @ 2011-12-12 14:02 达达杀猪丸子 阅读(10126) 评论(2) 推荐(2) 编辑