穿透项目加状态
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user