コード例 #1
0
 private void showscore()
 {
     if (DDLmission.SelectedValue != "")
     {
         int Sgrade = Int32.Parse(DDLgrade.SelectedValue.ToString());
         int Sclass = Int32.Parse(DDLclass.SelectedValue.ToString());
         int Wcid = Int32.Parse(Request.QueryString["Cid"].ToString());
         int Wmsort = Int32.Parse(DDLmission.SelectedValue);
         LearnSite.BLL.Works works = new LearnSite.BLL.Works();
         GridViewScore.DataSource = works.GetListWork(Wcid, Sgrade, Sclass, Wmsort);
         GridViewScore.DataBind();
     }
 }