![]() |
#2
yms1232012-09-10 12:50
|

#region 公司新闻
public void InfoShow()
{
WebProject.BLL.BaseData.ZT_COM_News Bll_News = new WebProject.BLL.BaseData.ZT_COM_News();
DataSet ds = Bll_News.GetList(7, "1=1", "CreateDate desc");
this.RPTYpe.DataSource = ds;
this.RPTYpe.DataBind();
}
#endregion
#region 友情链接
public void LinkURL()
{
WebProject.BLL.BaseData.ZT_COM_LinkURL Bll_Linkid = new WebProject.BLL.BaseData.ZT_COM_LinkURL();
DataSet ds = Bll_Link.GetList("1=1", "CreateDate desc");
this.LKTYpe.DataSource = ds;
this.LKTYpe.DataBind();
}
#endregion
public void InfoShow()
{
WebProject.BLL.BaseData.ZT_COM_News Bll_News = new WebProject.BLL.BaseData.ZT_COM_News();
DataSet ds = Bll_News.GetList(7, "1=1", "CreateDate desc");
this.RPTYpe.DataSource = ds;
this.RPTYpe.DataBind();
}
#endregion
#region 友情链接
public void LinkURL()
{
WebProject.BLL.BaseData.ZT_COM_LinkURL Bll_Linkid = new WebProject.BLL.BaseData.ZT_COM_LinkURL();
DataSet ds = Bll_Link.GetList("1=1", "CreateDate desc");
this.LKTYpe.DataSource = ds;
this.LKTYpe.DataBind();
}
#endregion
编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。
编译器错误消息: CS0103: 当前上下文中不存在名称“Bll_Link”
源错误:
行 137: {
行 138: WebProject.BLL.BaseData.ZT_COM_LinkURL Bll_Linkid = new WebProject.BLL.BaseData.ZT_COM_LinkURL();
行 139: DataSet ds = Bll_Link.GetList("1=1", "CreateDate desc");
行 140: this.LKTYpe.DataSource = ds;
行 141: this.LKTYpe.DataBind();
源文件: g:\case\新乡豫航\WebProject\www.\Index.aspx.cs 行: 139