J John Sutor Dec 1, 2004 #1 I want to write a row of cell values to Excel, does anyone have a code example of how to do this?
W W.G. Ryan eMVP Dec 2, 2004 #2 You can use the OleDbDataAdapter http://www.codeproject.com/csharp/Excel_using_OLEDB.asp Or you can use ComInterop
You can use the OleDbDataAdapter http://www.codeproject.com/csharp/Excel_using_OLEDB.asp Or you can use ComInterop
J John.Arthur Dec 2, 2004 #3 If what you need is just to write text to execl the easiest way to do it to write tab separeted values in an flat text file and then just rename it to somefile.xls
If what you need is just to write text to execl the easiest way to do it to write tab separeted values in an flat text file and then just rename it to somefile.xls