资源简介
com.Ole.excel 源码,不需要在服务器上安装Excel,完全使用C#代码实现,更多excel支持的高级功能可能没有,但实际开发中基本够用了.附加了一个示例和一个Table导出到excel的示例

代码片段和文件信息
namespace com.Ole.excel
{
///
/// Contains constant values pertaining to the BIFF8 format for use in MyXLS.
///
public static class BIFF8
{
///
/// The name of the Workbook stream in an OLE2 Document.
///
public static readonly byte[] NameWorkbook = new byte[] {
0x57 0x00 0x6F 0x00 0x72 0x00 0x6B 0x00 0x62 0x00 0x6F 0x00 0x6F 0x00 0x6B 0x00
0x00 0x00};
///
/// The name of the SummaryInformation stream in an OLE2 Document.
///
public static readonly byte[] NameSummaryInformation = new byte[] {
0x05 0x00 0x53 0x00 0x75 0x00 0x6D 0x00 0x6D 0x00 0x61 0x00 0x72 0x00 0x79 0x00
0x49 0x00 0x6E 0x00 0x66 0x00 0x6F 0x00 0x72 0x00 0x6D 0x00 0x61 0x00 0x74 0x00
0x69 0x00 0x6F 0x00 0x6E 0x00 0x00 0x00};
///
/// The name of the DocumentSummaryInformation stream in an OLE2 Document.
///
public static readonly byte[] NameDocumentSummaryInformation = new byte[] {
0x05 0x00 0x44 0x00 0x6F 0x00 0x63 0x00 0x75 0x00 0x6D 0x00 0x65 0x00 0x6E 0x00
0x74 0x00 0x53 0x00 0x75 0x00 0x6D 0x00 0x6D 0x00 0x61 0x00 0x72 0x00 0x79 0x00
0x49 0x00 0x6E 0x00 0x66 0x00 0x6F 0x00 0x72 0x00 0x6D 0x00 0x61 0x00 0x74 0x00
0x69 0x00 0x6F 0x00 0x6E 0x00 0x00 0x00};
///
/// The maximum rows a BIFF8 document may contain.
///
public const ushort MaxRows = ushort.MaxValue;
///
/// The maximum columns a BIFF8 document may contain.
///
public const ushort MaxCols = byte.MaxValue;
///
/// The maximum number of bytes in a BIFF8 record (minus 4 bytes for
/// the Record ID and the data size leaves 8224 bytes for data).
///
public const ushort MaxBytesPerRecord = 8228;
///
/// The maximum number of bytes available for data in a BIFF8 record
/// (plus 4 bytes for the Record ID and the data size gives 8228 total
/// bytes).
///
public const ushort MaxDataBytesPerRecord = 8224;
///
/// The Maximum number of characters that can be written to or read
/// from a Cell in Excel. I‘m guessing it is short.MaxValue instead
/// of ushort.MaxValue to allow for double-byte chars (Unicode).
///
public const ushort MaxCharactersPerCell = (ushort)short.MaxValue;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1419 2016-01-14 11:31 SalsNET.sln
文件 126976 2016-01-14 13:43 SalsNET.Common\bin\Debug\SalsNET.Common.dll
文件 1234432 2016-01-14 13:43 SalsNET.Common\bin\Debug\SalsNET.Common.pdb
文件 2777 2016-01-14 13:43 SalsNET.Common\Excel\BIFF8.cs
文件 9810 2016-01-14 13:43 SalsNET.Common\Excel\ByteUtil\Bits.cs
文件 11666 2016-01-14 13:43 SalsNET.Common\Excel\ByteUtil\Bytes.cs
文件 427 2016-01-14 13:43 SalsNET.Common\Excel\CachedBlockRow.cs
文件 26350 2016-01-14 13:43 SalsNET.Common\Excel\Cell.cs
文件 761 2016-01-14 13:43 SalsNET.Common\Excel\CellCoordinate.cs
文件 10336 2016-01-14 13:43 SalsNET.Common\Excel\Cells.cs
文件 494 2016-01-14 13:43 SalsNET.Common\Excel\CellTypes.cs
文件 1804 2016-01-14 13:43 SalsNET.Common\Excel\CharacterSets.cs
文件 1806 2016-01-14 13:43 SalsNET.Common\Excel\Color.cs
文件 14886 2016-01-14 13:43 SalsNET.Common\Excel\Colors.cs
文件 8068 2016-01-14 13:43 SalsNET.Common\Excel\ColumnInfo.cs
文件 3948 2016-01-14 13:43 SalsNET.Common\Excel\DataBand\DataBand.cs
文件 454 2016-01-14 13:43 SalsNET.Common\Excel\EscapementTypes.cs
文件 9858 2016-01-14 13:43 SalsNET.Common\Excel\Font.cs
文件 843 2016-01-14 13:43 SalsNET.Common\Excel\FontFamilies.cs
文件 2967 2016-01-14 13:43 SalsNET.Common\Excel\Fonts.cs
文件 1469 2016-01-14 13:43 SalsNET.Common\Excel\FontWeight.cs
文件 7953 2016-01-14 13:43 SalsNET.Common\Excel\Format.cs
文件 6729 2016-01-14 13:43 SalsNET.Common\Excel\Formats.cs
文件 533 2016-01-14 13:43 SalsNET.Common\Excel\FormulaRecord.cs
文件 808 2016-01-14 13:43 SalsNET.Common\Excel\HorizontalAlignments.cs
文件 114 2016-01-14 13:43 SalsNET.Common\Excel\IXFTarget.cs
文件 1061 2016-01-14 13:43 SalsNET.Common\Excel\Linest
文件 3325 2016-01-14 13:43 SalsNET.Common\Excel\MergeArea.cs
文件 8681 2016-01-14 13:43 SalsNET.Common\Excel\Ole2\Directory.cs
文件 1813 2016-01-14 13:43 SalsNET.Common\Excel\Ole2\Header.cs
............此处省略83个文件信息
- 上一篇:C#脱壳工具NETUnpack
- 下一篇:c#GDI+画点最简单的处理方式
相关资源
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
- 基于c#的实验室设备管理系统621530
- C# 使用ListView控件实现图片浏览器(源
- C#简单窗体聊天程序
- C#指纹识别系统程序 报告
- c# 高校档案信息管理系统
评论
共有 条评论