I am using c# 2005 what is the easiest way to output a grid to excel??
Cheers
GTJ
Printable View
I am using c# 2005 what is the easiest way to output a grid to excel??
Cheers
GTJ
The easiest way to output to an existing XLS file is to use ADO.NET. See www.connectionstrings.com for more details of connection string and SQL syntax. The alternative is Office Automation, which requires Excel to be installed. See MSDN for more details, or see the Office Development forum.