aspx中顶部第一句话解释
2014-10-14 00:00:00 by 【6yang】,
354
visits,
收藏 |
返回
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="test.index" title="test"%>
1. 解释CodeFile区分于CodeBehind; 注: CodeBehind不能在运行的时候使用
2. Inherits = "test.index";
namespace test
{
public partial class index : System.Web.UI.Page
这里的namespace test 和class index 要对应
share