protected void GridViewBind()
 {
     FillBlankProblem fillblankproblem = new FillBlankProblem();  //创建填空题对象
     DataSet ds = fillblankproblem.QueryFillBlankProblem(int.Parse(ddlCourse.SelectedValue));//根据试卷科目查询填空题信息
     GridView1.DataSource = ds.Tables[0].DefaultView;    //为GridView控件指名数据源
     GridView1.DataBind();                               //绑定数据
 }
 //显示选择科目的填空题
 protected void ddlCourse_SelectedIndexChanged(object sender, EventArgs e)
 {
     FillBlankProblem fillblankproblem = new FillBlankProblem();  //创建填空题对象
     DataSet ds = fillblankproblem.QueryFillBlankProblem(int.Parse(ddlCourse.SelectedValue));//根据试卷科目查询填空题信息
     GridView1.DataSource = ds.Tables[0].DefaultView;    //为GridView控件指名数据源
     GridView1.DataBind();                               //绑定数据
 }