protected void SaveBt_Click(object sender, System.EventArgs e) { userManageDb userManageDb = new userManageDb(); string text; if (this.FUFilePath.HasFile) { HttpPostedFile postedFile = this.FUFilePath.PostedFile; com.jwsoft.pm.entpm.action.FileUpload fileUpload = new com.jwsoft.pm.entpm.action.FileUpload(); string[] array = fileUpload.Upload(postedFile, 1); text = array[1].ToString(); } else { text = this.ImageName; } if (userManageDb.updateUserAuditImg(this.Page.Session["yhdm"].ToString(), text)) { this.js.Text = "alert('审核签名设置成功!');"; this.ImgName.ImageUrl = text; return; } this.js.Text = "alert('审核签名设置失败,请重试!');"; }