DispUpList.aspx.cs 715 B

12345678910111213141516
  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 DispUpList : System.Web.UI.Page
  8. {
  9. LYS.UserData1 myud = new LYS.UserData1();
  10. protected void Page_Load(object sender, EventArgs e)
  11. { string TeaUsername = myud.ReadCookies("UserName").ToString();
  12. string SQL = "Select ID, 系部,督导姓名,督导项目名,督导时间,督导地点,督导内容,参与人员,图片附件1,图片附件2,文件附件 from OthProg where 督导姓名='" + TeaUsername + "' order by ID DESC";
  13. Literal1.Text = myud.UpdateMenuBrowse1(SQL, "OthProg", 5, "../Upfiles/", true).ToString();
  14. }
  15. }