ModifyOthRec.aspx.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. public partial class ModifyOthRec : System.Web.UI.Page
  8. {
  9. LYS.UserData1 myud = new LYS.UserData1();
  10. string TesUsername = "";
  11. protected void Page_Load(object sender, EventArgs e)
  12. {
  13. //string username =myud.ReadCookies("UserName").ToString();
  14. //string usertype = Session["UserType"].ToString();
  15. //string userdemp = Session["UserDemp"].ToString();
  16. //Teaname = myud.ReadCookies("Tea_name").ToString();
  17. //TeaDemp = myud.ReadCookies("Dempent").ToString();
  18. TesUsername = myud.ReadCookies("UserName").ToString();
  19. //获得安排的课程名称等信息
  20. Session["TableName"] = "OthProg";
  21. string SQL = "Select * from OthProg where 督导姓名='" + TesUsername + "' order by ID DESC";
  22. // Literal1.Text = myud.DataReaderPage("", Tablename, 15, "DispMyUpSOC.aspx", true, "delall", "").ToString();
  23. Literal1.Text = myud.DispLineDataModi(SQL, "ModiAndDel").ToString();
  24. }
  25. }