2010-04-19 44 views

回答

0

我一直在使用smartxls它可以讓你打開一個現有的電子表格,在一些填入值和讀取結果產生過去這樣的服務。但它不是免費的。

示例代碼:

WorkBook book = new WorkBook(); 
string path = "c:\sheet.xls"; 
//Open an existing spreadsheet which will be used as a template for generating the new spreadsheet. 
//After opening, the workbook object represents the complete in-memory object model of the template spreadsheet. 
book.read(path); 

book.Sheet = 0; //base 
book.setText(15, 4, "man"); 
book.setEntry(17, 4, DateTime.Now); 
book.recalc(); 
  • 免責聲明:我不是作者或與SmartXls沒有任何關係
相關問題