摘要: Inherits、CodeFile、CodeBehind在 ASP.NET 中使用代码隐藏方法来设计Web 窗体,可使页代码能够更清晰地从 HTML 内容中分离到完全单独的文件中。通常一个 @page 指令如下:<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>其中有三个属性(Inherits、CodeFile、CodeBeh 阅读全文
posted @ 2012-04-08 16:26 说不清这一切 阅读(25817) 评论(0) 推荐(1) 编辑