protected void btnDownLoad_Click(object sender, EventArgs e) { string FN = "Student.xls";//模板名 NPOI_EXCEL.DownLoad(FN); Page_Load(sender, e); }
protected void DownLoad_Click(object sender, EventArgs e) { string fn = "Working_hours.xlsx"; NPOI_EXCEL.DownLoad(fn); }