示例#1
0
 private void BindGridView()
 {
     if (CheckUI())
     {
         DataSet ds      = InDoorParam.GetFYDInfo(QueryFYD());
         DataSet dsCount = InDoorParam.GetFYDInfoCount(QueryFYD());
         if (ds != null)
         {
             this.lblFYDsum.Text = dsCount.Tables[0].Rows[0]["HS"].ToString();
             this.lblJHSL.Text   = dsCount.Tables[0].Rows[0]["HJJHSL"].ToString();
             this.lblSJSL.Text   = dsCount.Tables[0].Rows[0]["HJSJSL"].ToString();
             this.lblJHZL.Text   = dsCount.Tables[0].Rows[0]["HJJHZL"].ToString();
             this.lblSJZL.Text   = dsCount.Tables[0].Rows[0]["HJSJZL"].ToString();
         }
         this.grdFYD.DataSource = ds;
         this.grdFYD.DataBind();
         this.hidCheckFYDSlc.Value = "";
     }
     else
     {
         this.PrintfError("时间格式有误,请重试!");
         return;
     }
 }