protected void ccmbDataSign_BeforeDataBind(object sender, EventArgs e)
 {
     using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
     {
         ccmbDataSign.DataSource = client.GetDataSign();
     }
 }
 protected void ccmbDepartment_DataBinding(object sender, EventArgs e)
 {
     using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
     {
         ccmbDepartment.DataSource = client.GetDepartments(_schoolId);
     }
 }
 protected void ccmbDepartment_DataBinding(object sender, EventArgs e)
 {
     using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
     {
         ccmbDepartment.DataSource = client.GetDepartments(_schoolId);
     }
 }
 protected void ccmbDataSign_BeforeDataBind(object sender, EventArgs e)
 {
     using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
     {
         ccmbDataSign.DataSource = client.GetDataSign();
     }
 }
 protected void cgrdDeclarationList_BeforeDataBind(object sender, EventArgs e)
 {
     string dataSignId = ccmbDataSign.SelectedValue;
     using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
     {
         cgrdDeclarationList.DataSource = client.GetSchoolProgress(dataSignId);
     }
 }
        protected void cgrdDeclarationList_BeforeDataBind(object sender, EventArgs e)
        {
            string dataSignId = ccmbDataSign.SelectedValue;

            using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
            {
                cgrdDeclarationList.DataSource = client.GetSchoolProgress(dataSignId);
            }
        }
        protected void cgrdDeclarationList_BeforeDataBind(object sender, EventArgs e)
        {
            //采用QueryString方式传值
            //string schoolId = Request.QueryString["SchoolId"];
            //string yearTerm = Request.QueryString["YearTerm"];
            //string dataSignId = Request.QueryString["DataSignId"];

            var departmentId = ccmbDepartment.SelectedValue;

            using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
            {
                cgrdDeclarationList.DataSource = client.GetDepartmentProgress(_dataSignId, departmentId);
            }
        }
        protected void cgrdDeclarationList_BeforeDataBind(object sender, EventArgs e)
        {
            //采用QueryString方式传值
            //string schoolId = Request.QueryString["SchoolId"];
            //string yearTerm = Request.QueryString["YearTerm"];
            //string dataSignId = Request.QueryString["DataSignId"];

            var departmentId = ccmbDepartment.SelectedValue;

            using (DeclarationProgressApplClient client = new DeclarationProgressApplClient())
            {
                cgrdDeclarationList.DataSource = client.GetDepartmentProgress(_dataSignId, departmentId);
            }
        }