日期:2014-05-17  浏览次数:20813 次

帮忙找一下错误,不可思议!
这是的的ListView中的方法:

protected void lvLink_ItemCreated(object sender, ListViewItemEventArgs e)
        {
            //当Item为显示状态时.
            if (e.Item.ItemType == ListViewItemType.InsertItem)
            {
                //显示日期控件.
                TextBox FInBillDateTextBox = (TextBox)e.Item.FindControl("FInBillDateTextBox");
                if (FInBillDateTextBox != null)
                {
                    FInBillDateTextBox.Text = DateTime.Now.ToShortDateString(); //默认为当期时间.
                }
                //显示入库类型的控件.
                DropDownList ddListLinkType = (DropDownList)e.Item.FindControl("ddListLinkType");
                DataRowView viewItem = (DataRowView)e.Item.DataItem;
                if (viewItem != null && ddListLinkType != null) //找到控件时且为当期插入行时.
                {
                    var row = (InBillsManage.DAL.DataSetLinksMng.T_LinksRow)viewItem.Row;
                }

            }
        }
错误提示:
Error 1 The type name 'DAL' does not exist in the type 'InBillsManage.InBillsManage'
以前都是“ctrl + .”引入,然后就可以直接使用,现在报这样的错。
无法相信,“ctrl + .”又能进来,又报错。
我的需求很简单:
就是 从数据库中找出“入库类型”,显示到我的下拉列表中。

------解决方案--------------------
就是告诉你不存在了,好好查一下
------解决方案--------------------
编译可否通过?

再检查重名问题