.net - Save an excel file to a csv file in C# code -


i want open excel file , save csv file. google search no lucky. need c sharp code it.

thanks nice help.

if willing use excel interop:

        excel.application app = new excel.application();         excel.workbook wb = app.workbooks.open(@"c:\temp\testtable.xlsx");         wb.saveas(@"c:\temp\output.csv", excel.xlfileformat.xlcsvwindows);         wb.close(false);         app.quit();         console.writeline("done!"); 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -