protected void BindCeshi() { string username = ((FormsIdentity)HttpContext.Current.User.Identity).Ticket.Name; string kechengid = Session["kechengid"].ToString(); DataTable dt = StudentInfo.GetStuCeshiOntime(kechengid, username).Tables[0]; GridView1.DataSource = dt; GridView1.DataBind(); }