예제 #1
0
 protected void BtnSpecSta_Click(object sender, EventArgs e)
 {
     // 获得专业统计情况
     if (ddlSpeciality.SelectedValue != "null")
     {
         // 调用逻辑查询统计情况
         gv.DataSource = finSrv.GetSpecilityStatistics(ddlSpeciality.SelectedItem.Text);
         gv.DataBind();
         lbMessage.Text = "";
     }
     else
     {
         lbMessage.Text = "请选择专业";
     }
 }