Ejemplo n.º 1
0
 public void bind(string strWhere)
 {
     BLL.Recipients brecipients = new LabMS.BLL.Recipients();
     List<Model.Recipients> recipient = brecipients.GetModelList(strWhere);
     gvInstrument.DataSource = recipient;
     gvInstrument.DataBind();
 }
Ejemplo n.º 2
0
 LabMS.Model.Recipients checkQueryString(string strID)
 {
     LabMS.BLL.Recipients brecipients = new LabMS.BLL.Recipients();
     string strWhere = " Type = 'guizhongyiqi' and ID =" + strID;
     List<LabMS.Model.Recipients> listrecipients = brecipients.GetModelList(strWhere);
     if (listrecipients.Count <= 0)
     {
         return null;
     }
     return listrecipients[0];
 }