Exemple #1
0
 protected void BindApprovalLimitGrid()
 {
     try
     {
         DataSet ds = BLL_POLOG_Register.POLOG_Get_ApprovalDeatils(UDFLib.ConvertIntegerToNull(txtSupplyID.Text.ToString()));
         if (ds.Tables[1].Rows.Count > 0)
         {
             lblGroup.Text = ds.Tables[0].Rows[0]["Groupname"].ToString();
         }
         if (ds.Tables[0].Rows.Count > 0)
         {
             lblverifier.Text = ds.Tables[1].Rows[0]["Verifier"].ToString();
         }
         if (ds.Tables[2].Rows.Count > 0)
         {
             gvApprovalLimit.DataSource = ds.Tables[2];
             gvApprovalLimit.DataBind();
         }
         else
         {
             gvApprovalLimit.DataSource = null;
             gvApprovalLimit.DataBind();
         }
     }
     catch { }
     {
     }
 }