2023-01-02 焊接日报修改

This commit is contained in:
2023-01-02 12:21:10 +08:00
parent e9196b94ce
commit dc31914fe7
5 changed files with 170 additions and 93 deletions
@@ -493,5 +493,18 @@ namespace FineUIPro.Web.HJGL.WeldingManage
BindGrid();
}
#endregion
protected void btnOut_Click(object sender, EventArgs e)
{
Response.ClearContent();
string filename = txtWeldingDate.Text;
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;
//this.Grid1.PageSize = this.;
BindGrid();
Response.Write(GetGridTableHtml(Grid1));
Response.End();
}
}
}