public void bind(string strWhere)
 {
     ExtendBLL.GoodsMaintain bgm = new ExtendBLL.GoodsMaintain();
     List<ExtendModule.GoodsMaintain> gm = bgm.GetExtendModuleList(strWhere);
     gvInstrument.DataSource = gm;
     gvInstrument.DataBind();
 }
示例#2
0
 public void bind(string strWhere)
 {
     ExtendBLL.GoodsMaintain bgoodsmaintain = new ExtendBLL.GoodsMaintain();
     List<ExtendModule.GoodsMaintain> goodsmaintain = bgoodsmaintain.GetExtendModuleList(strWhere);
     instrumentsRepair.DataSource = goodsmaintain;
     instrumentsRepair.DataBind();
 }
 public void databind(string strWhere)
 {
     ExtendBLL.GoodsMaintain bgm = new ExtendBLL.GoodsMaintain();
     List<ExtendModule.GoodsMaintain> gmlist = bgm.GetExtendModuleList(strWhere);
     gvconformlist.DataSource=gmlist;
     gvconformlist.DataBind();
 }
        public void Bind(string strWhere)
        {
            List<ExtendModule.GoodsMaintain> mgoods = new List<ExtendModule.GoodsMaintain>();
            ExtendBLL.GoodsMaintain bgoods = new ExtendBLL.GoodsMaintain();

            mgoods = bgoods.GetExtendModuleList(" Type = 'guizhongyiqi' AND GoodsMaintain.Status = '故障' " + strWhere + " order by GoodsMaintain.ID desc ");
            GridViewValuablesRepair.DataSource = mgoods;
            GridViewValuablesRepair.DataBind();
        }
示例#5
0
 ExtendModule.GoodsMaintain checkQueryString(string strID)
 {
     ExtendBLL.GoodsMaintain bgoods = new ExtendBLL.GoodsMaintain();
     string strWhere = " Type = 'guizhongyiqi' and GoodsMaintain.ID =" + strID;
     List<ExtendModule.GoodsMaintain> mgoods = bgoods.GetExtendModuleList(strWhere);
     if (mgoods.Count <= 0)
     {
         return null;
     }
     return mgoods[0];
 }