protected void ButtonClearFinger_Click(object sender, EventArgs e) { string Hid = Request.Cookies[LearnSite.Common.CookieHelp.teaCookieNname].Values["Hid"].ToString(); if (!string.IsNullOrEmpty(Hid)) { int rhid = Int32.Parse(Hid); LearnSite.BLL.Pfinger fbll = new LearnSite.BLL.Pfinger(); fbll.ClearMyTb(rhid); ButtonClearType.Enabled = false; labelmsg.Text = "清除所教班级学生指法打字成绩成功!"; } }
protected void ButtonClearFinger_Click(object sender, EventArgs e) { string Hid = tcook.Hid.ToString(); if (!string.IsNullOrEmpty(Hid)) { int rhid = Int32.Parse(Hid); LearnSite.BLL.Pfinger fbll = new LearnSite.BLL.Pfinger(); fbll.ClearMyTb(rhid); ButtonClearType.Enabled = false; labelmsg.Text = "清除所教班级学生指法打字成绩成功!"; } }