问题描述
如何在服务器端操作EXCEL表,知道的帮个忙,最好有个例子给我,谢谢!
解决方案
解决方案二:
使用微软的OWC组件,然后就可以对EXCEl进行操作了,具体的可以在网上查一下
解决方案三:
1.服务器上装office,然后引用excel组件2.无office组件的excel文件编写——http://www.codeproject.com/office/Excel_Export.aspIntroductionIhavecreatedanExcelExportcomponentusingXSLandXMLwhichcanproduceverywellformattedExcelfiles.Thisdoesn'trequireanyExcellibrarytocreateExcelfileswithoutchartsandmacros,butifyouwantchartsormacrosintheExcel,thenyouhavetohaveExcelinstalledonthemachine.Iwillexplainthisusingthreeexamples.ExportaDataTableintoanExcelsheetwhichwillnothaveanyformatting.ExportanXMLDataDocument(hasdatafromaDataTableandhasafewtagsaddedtoit)intoanExcelsheetwhichwillhavealotofcoolformatting.ExportanXMLDataDocument(hasdatafromaDataTableandhasafewtagsaddedtoit)intoanExcelsheetwhichwillhavechartsandalotofcoolformatting.3.excel文件读取——http://www.codeproject.com/office/Excelreader.aspWhatitcando?Itcanreadreadworksheetsinaworkbookandreadcellsinaworksheet.Itcanreadcellcontent(text,number,datetime,orerror)andcellformat(font,alignment,linestyle,background,etc.).Itcanreadpicturesinthefile,getinformationofimagesize,position,data,andformat.Usingthecode
解决方案四:
mark