1. Set component changed page field property: For understanding this open a page in application designer and in the field property of one of the edit field uncheck the property Set component Changed and save the page. Now go on the online page, make
在ASP.NET中将GridView数据导出到Word.Excel asp.net,导出gridview数据到Word,Excel,PDF #region Export to Word, Excel and PDF protected void btnword_Click(object sender, EventArgs e) { Response.AddHeader("content-disposition", "attachment;file