求救啊,关于母版页属性的错误,搞得好烦
using System;using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using BLL;
using System.Data;
public partial class Index : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
ModuleBLL moduleBLL = new ModuleBLL();
if (!IsPostBack)
{
Master.Description.Text = "版块信息";
DataSet ds = moduleBLL.GetModule();
if (ds != null && ds.Tables[0].Rows.Count > 0)
{
dataListInfo.DataSource = moduleBLL.GetModule().Tables[0].DefaulView;
dataListInfo.DataBind();
}
else
{
Master.Desecription.Text = "还没有任何信息哟!";
}
}
}
}
错误 2 “System.Web.UI.MasterPage”不包含“Description”的定义,并且找不到可接受类型为“System.Web.UI.MasterPage”的第一个参数的扩展方法“Description”(是否缺少 using 指令或程序集引用?) MasterPage Description
补充:.NET技术 , ASP.NET