摘要:
默認情況下VS2005打不開VS2008的sln和.csproject文件對於一些簡單的工程可以用手工的方式修改.sln其實文件內容沒有任何實質性變化只是VS2008格式的前兩行是:MicrosoftVisualStudioSolutionFile,FormatVersion10.00#VisualStudio2008而VS2005格式的前兩行是:MicrosoftVisualStudioSolutionFile,FormatVersion9.00#VisualStudio2005.csproject的修改稍微複雜一點VS2008<ProjectToolsVersion="3. 阅读全文
摘要:
IntroductionMany business users want to export their business objects to a Microsoft Excel Spreadsheet because it offers the ability to present and manipulate data to business executives in a way that makes sense to them.In this article, we are going to learn how easy it is to create an Excel Spread 阅读全文
摘要:
使用OpenXML简单设置Excel单元格格式前言:本文简单介绍使用OpenXML如何设置Excel单元格格式。在操作Excel时,不可避免的需要设置单元格的格式。使用OpenXML设置简单的单元格格式还是很方便的。Excel需要使用到的单元格式在CellFormats对象中,CellFormats是对象workbookPart.WorkbookStylesPart.Stylesheet的一个属性。所以使用时需要先创建Stylesheet对象的实例,然后根据需要创建具体的CellFormat对象。这里简单介绍下如何设置单元格值得字体(Fonts),单元格边框(Borders),以及单元格填充色 阅读全文
摘要:
Recently, I had to upgrade some Microsoft Office Word 2007 Beta 2 add-in projects to RTM. Each add-in manipulated Office Word 2007 documents, so the projects contained a reference to WindowsBase.dll, which uses the System.IO.Packaging namespace. When I was working with Beta 2, I used comments in thi 阅读全文