Issue exporting DataGrid to Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I'm using the code shown here to export only my DataGrid to Excel.

http://www.c-sharpcorner.com/Code/2003/Sept/ExportASPNetDataGridToExcel.asp


In my page I have two DropDownListBox, two Textboxes, two buttons and the
DataGrid.

Issue Number1

In this line: Response.End(); I receive an exception: the Subprocess has
been terminated.

Issue Number2

After I remove Response.End(); the Save/Open windows appear but when I open
the Excel document I see the Textboxes and Buttons overlapped, but nothing
about the DataGrid.

Any Sug
..
 
Kenny,
Looks like Dipal didn't check her code. I've seen that error before with
response.end you can just catch it.

Good Luck
DWS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top