using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class DispUpList : System.Web.UI.Page { LYS.UserData1 myud = new LYS.UserData1(); protected void Page_Load(object sender, EventArgs e) { string TeaUsername = myud.ReadCookies("UserName").ToString(); string SQL = "Select ID, 系部,督导姓名,督导项目名,督导时间,督导地点,督导内容,参与人员,图片附件1,图片附件2,文件附件 from OthProg where 督导姓名='" + TeaUsername + "' order by ID DESC"; Literal1.Text = myud.UpdateMenuBrowse1(SQL, "OthProg", 5, "../Upfiles/", true).ToString(); } }