Question: how to export gridview data to excel with paging in asp.net?
Answer: protected void ExportToExcel_click(object sender, EventArgs e) { ExportGridToExcel(); } protected void ExportGridToExcel() { Response.Clear(); Response.Buffer = true;