private void Page_Load(object sender, System.EventArgs e) { if (!Page.IsPostBack) { SqlDataReader dataReader = null; DocumentClass dc = new DocumentClass(); dataReader = dc.GetManageQueryDetail(); if (dataReader.Read()) { this.iNormalMedia.Attributes["src"] = "../Document/" + dataReader["FileVisualPath"].ToString(); dataReader.Close(); } else { Response.Write("暂无最新文档!"); } dc = null; } }