c#报:当前上下文中不存在名称:xxx
namespaceSTWeb.Admin.Order_mg{publicpartialclassfrmSalesOrderDetail:BasePage{protecte...
namespace STWeb.Admin.Order_mg
{
public partial class frmSalesOrderDetail : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
{
string PId = Request.QueryString["cId"];
txt_fldDate.Text = System.DateTime.Now.ToShortDateString();
if (!string.IsNullOrEmpty(PId) && PId != "0")
{
BLL_SalesOrdersHead objBLL_SalesOrdersHead = new BLL_SalesOrdersHead();
M_SalesOrdersHead obj = objBLL_SalesOrdersHead.GetModel(PId);
ddl_fldBillType.Text = obj.fldBillType;
txt_fldShopName.Text = obj.fldShopName;
}
hid_id.Value = PId;
}
catch (Exception)
{
throw;
}
}
}
}
}
错误 50 当前上下文中不存在名称“ddl_fldBillType”和“ txt_fldShopName”这样的信息,请大神解救,谢谢 展开
{
public partial class frmSalesOrderDetail : BasePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
{
string PId = Request.QueryString["cId"];
txt_fldDate.Text = System.DateTime.Now.ToShortDateString();
if (!string.IsNullOrEmpty(PId) && PId != "0")
{
BLL_SalesOrdersHead objBLL_SalesOrdersHead = new BLL_SalesOrdersHead();
M_SalesOrdersHead obj = objBLL_SalesOrdersHead.GetModel(PId);
ddl_fldBillType.Text = obj.fldBillType;
txt_fldShopName.Text = obj.fldShopName;
}
hid_id.Value = PId;
}
catch (Exception)
{
throw;
}
}
}
}
}
错误 50 当前上下文中不存在名称“ddl_fldBillType”和“ txt_fldShopName”这样的信息,请大神解救,谢谢 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询