private void showtyper() { if (!string.IsNullOrEmpty(Request.QueryString["Tid"])) { int Ptid = Int32.Parse(Request.QueryString["Tid"].ToString()); string sgrade = DDLgrade.SelectedValue; string sclass = DDLclass.SelectedValue; if (!string.IsNullOrEmpty(sgrade) && !string.IsNullOrEmpty(sclass)) { LearnSite.BLL.Ptyper pbll = new LearnSite.BLL.Ptyper(); GVTyper.DataSource = pbll.ShowClassTidScore(Int32.Parse(sgrade), Int32.Parse(sclass), Ptid); GVTyper.DataBind(); } } }