ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Exporting data to Excel file (https://www.excelbanter.com/excel-programming/373967-exporting-data-excel-file.html)

Vlash

Exporting data to Excel file
 
Hi,

I develop a windows application using C#. I have to export data (data grid
or data table) to Excel file in specific location (selected by the user in
SaveFileDialog) by creating it and copying the data into it. I tried
different options but nothing works. Can anybody write me a correct code that
will export the data?

Thank you.

Jean-Yves[_2_]

Exporting data to Excel file
 
HI,

Did you tried with ADO ?
Regards
JY

"Vlash" wrote in message
...
Hi,

I develop a windows application using C#. I have to export data (data grid
or data table) to Excel file in specific location (selected by the user in
SaveFileDialog) by creating it and copying the data into it. I tried
different options but nothing works. Can anybody write me a correct code
that
will export the data?

Thank you.





All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com