Example #1
0
 public void binditemmap()
 {
     try
     {
         List <GetItemMapping_Result> lstcol = lclsservice.GetItemMapping(Convert.ToInt64(hdnitemid.Value)).ToList();
         grditemmap.DataSource = lstcol;
         grditemmap.DataBind();
     }
     catch (Exception ex)
     {
         EventLogger log = new EventLogger(config);
         log.LogException(ex);
         ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", Constant.MedicalSuppliesErrorMessage.Replace("<<Itemname>>", ex.Message), true);
     }
 }