资源简介
导入导出Excel
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Aspose.Cells;
namespace OperateExcelByAspose
{
///
/// Excel操作类
/// lyzane.it@gmail.com
/// 奔放的胸毛。
///
public class ExcelHelper
{
///
/// 读取Excel文件到DataSet
///
/// Excel文件物理路径
/// /// Excel中要读取的Sheet的宽度
/// tleRow“>是否含有标题列
///
public DataSet Import(string pathint sheetWidthbool hastitleRow)
{
Workbook tcWorkBook = new Workbook();
tcWorkBook.Open(path);
WorksheetCollection tcWorkSheets = tcWorkBook.Worksheets;
D
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A..H. 45056 2019-04-29 11:36 OperateExcelByAspose\.vs\OperateExcelByAspose\v15\.suo
文件 0 2019-04-24 09:32 OperateExcelByAspose\.vs\OperateExcelByAspose\v15\Server\sqlite3\db.lock
文件 4096 2019-04-24 09:32 OperateExcelByAspose\.vs\OperateExcelByAspose\v15\Server\sqlite3\storage.ide
文件 32768 2019-04-29 11:28 OperateExcelByAspose\.vs\OperateExcelByAspose\v15\Server\sqlite3\storage.ide-shm
文件 1417312 2019-04-24 09:51 OperateExcelByAspose\.vs\OperateExcelByAspose\v15\Server\sqlite3\storage.ide-wal
..A..H. 54272 2020-06-12 19:20 OperateExcelByAspose\.vs\OperateExcelByAspose\v16\.suo
文件 0 2019-12-05 17:30 OperateExcelByAspose\.vs\OperateExcelByAspose\v16\Server\sqlite3\db.lock
文件 995328 2020-05-07 15:16 OperateExcelByAspose\.vs\OperateExcelByAspose\v16\Server\sqlite3\storage.ide
文件 6715 2011-12-13 12:11 OperateExcelByAspose\Backup\OperateExcelByAspose\ExcelHelper.cs
文件 4559 2011-12-13 12:06 OperateExcelByAspose\Backup\OperateExcelByAspose\Form_Main.cs
文件 6274 2011-12-13 11:20 OperateExcelByAspose\Backup\OperateExcelByAspose\Form_Main.Designer.cs
文件 6018 2011-12-13 11:20 OperateExcelByAspose\Backup\OperateExcelByAspose\Form_Main.resx
文件 4149 2011-12-13 11:44 OperateExcelByAspose\Backup\OperateExcelByAspose\Import_Service.cs
文件 3491 2011-12-12 18:05 OperateExcelByAspose\Backup\OperateExcelByAspose\OperateExcelByAspose.csproj
文件 483 2011-12-12 18:05 OperateExcelByAspose\Backup\OperateExcelByAspose\Program.cs
文件 1224 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose\Properties\AssemblyInfo.cs
文件 2896 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose\Properties\Resources.Designer.cs
文件 5612 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose\Properties\Resources.resx
文件 1105 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose\Properties\Settings.Designer.cs
文件 249 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose\Properties\Settings.settings
文件 949 2011-12-12 17:52 OperateExcelByAspose\Backup\OperateExcelByAspose.sln
文件 6570840 2011-04-01 15:12 OperateExcelByAspose\OperateExcelByAspose\bin\Debug\Aspose.Cells.dll
文件 16896 2020-05-07 14:46 OperateExcelByAspose\OperateExcelByAspose\bin\Debug\OperateExcelByAspose.exe
文件 36352 2020-05-07 14:46 OperateExcelByAspose\OperateExcelByAspose\bin\Debug\OperateExcelByAspose.pdb
文件 5632 2005-11-11 22:25 OperateExcelByAspose\OperateExcelByAspose\bin\Debug\OperateExcelByAspose.vshost.exe
文件 42496 2020-05-07 14:47 OperateExcelByAspose\OperateExcelByAspose\bin\Debug\奔放的胸毛。.xls
文件 62976 2020-05-07 14:52 OperateExcelByAspose\OperateExcelByAspose\bin\奔放的胸毛。.xls
文件 6715 2011-12-13 12:11 OperateExcelByAspose\OperateExcelByAspose\ExcelHelper.cs
文件 5299 2019-12-05 17:40 OperateExcelByAspose\OperateExcelByAspose\Form_Main.cs
文件 7162 2019-12-05 17:38 OperateExcelByAspose\OperateExcelByAspose\Form_Main.Designer.cs
............此处省略48个文件信息
- 上一篇:C#实现对软件加密(根据机器码生成 激活码)
- 下一篇:文件管理系统源码含数据库
相关资源
- wince引脚控制程序
- jQuery lazyload-预加载 功能,已经通过运
- FMS连接FlashRemoting(附)
- httpclient source code by csharp
- 极速北京对时(VB.NET代码)
- NServiceKit.Redis 基础操作
- XXTEA算法的C#实现和JS实现,可以互相
- Socke传输 (wince6.0系统)
- Prodave6联接程序源码
- UDP Messenger 1.0.unitypackage
- asp.net 网页静态化组件(shipingx-Stati
- SocketAsyncEventArgs完成断开编程
- Speex编解码调用
- Silverlight 颜色选择器
-
C# 播放铃声(AxWindowsMediaPla
yer)最新 - wpf实现展开收缩效果(ShrinkSpread)
- browerPhotoC#网页截图(不打开网页)
- Pylon.NET Samples
- ztree应用
- C# FileStream寫入檔案、StreamReader讀取、
- AppStore订单验证
- C# 透過 Google map Geocoder API 以經緯度
- DevExpress_14.1.4破解补丁
- Heizungsregler(Ein digitaler Heizungsregler)
- C#操作shapfile
- 控制台 ProgressBar进度条
- Revit可停靠窗体Test(类库)
- Socket局域网聊天项目(客户端源码)
- Treeview控件用法基础
- 串口通信(serialport)
评论
共有 条评论