Saturday, March 28, 2015

How do I write to specific cells in Excel? ... C#, OleDb

Here is my connection string:


string stOleDbConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + "C:\\Test.xlsx" + ";Extended Properties='Excel 12.0 Xml;HDR=YES;'";

goledbConnect = new OleDbConnection(stOleDbConnection);

goledbCmd = new OleDbCommand();




bhs67


No comments:

Post a Comment