穿透项目加状态

This commit is contained in:
2023-11-02 15:40:43 +08:00
parent bfb4cdc428
commit 48a0808bfb
24 changed files with 35 additions and 32 deletions
@@ -7,7 +7,7 @@
using System.Web.UI.WebControls;
using AspNet = System.Web.UI.WebControls;
public partial class CustomQuery : PageBase
public partial class CustomQuery : System.Web.UI.Page
{
/// <summary>
/// 加载页面
@@ -43,7 +43,7 @@
}
else
{
ShowNotify("没有满足条件的数据,请检查查询语句!", MessageBoxIcon.Warning);
// ShowNotify("没有满足条件的数据,请检查查询语句!", MessageBoxIcon.Warning);
}
}
}
@@ -69,7 +69,7 @@
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("查询结果" + filename, System.Text.Encoding.UTF8) + ".xls");
Response.ContentType = "application/excel";
Response.ContentEncoding = System.Text.Encoding.UTF8;
Response.Write(GetTableHtml(table));
// Response.Write(GetTableHtml(table));
Response.End();
}
}