public void LoadData(string strMaterialGuid) { MaterialManage MaterialManage = new MaterialManage(); Material material = new Material(); material = MaterialManage.GetMaterialByGuid(strMaterialGuid); txtMaterialID.Text = material.MaterialID; txtMaterialName.Text = material.MaterialName; txtSpec.Text = base.GetBasicDataNameByID(material.Spec); txtUnit.Text = base.GetBasicDataNameByID(material.Unit); StatReportManage StatReportManage = new StatReportManage(); DataTable dtl = StatReportManage.sp_GetStorageSumBatchNo(strMaterialGuid); gridControl1.DataSource = dtl; }