用c#的NPOI读写Excel 1、整个Excel表格叫做工作表:WorkBook(工作薄),包含的叫页(工作表):Sheet;行:Row;单元格Cell。 2、NPOI是POI的C#版本,NPOI的行和列的index都是从0开始 3、POI读取Excel有两种格式一个是HSSF,另一个是XSSF。 ...
首部 function GetCurrentDir: string; $[SysUtils.pas 功能 返回当前操作目录 说明 [注意]调用文件对话框会改变当前操作目录 参考 function System.GetDir 例子 Edit1.Text := GetCurrentDir; ...
分类:
其他好文 时间:
2017-02-10 17:22:01
阅读次数:
125
c# 封装的文件夹操作类之复制文件夹 一.复制文件夹原理: 1.递归遍历文件夹 2.复制文件 二.FolderHelper.cs ...
Path.GetDirectoryName(strOldEmapPath)Path.GetFileName(strOldEmapPath)Path.GetPathRoot(strOldEmapPath) Path.GetFileNameWithoutExtension(strOldEmapPath) ...
分类:
其他好文 时间:
2016-11-15 13:16:12
阅读次数:
117
假设需要写入日志文件,但是不希望日志文件太大影响程序性能,这时需要将原文件重命名 ...
分类:
其他好文 时间:
2016-11-02 14:06:16
阅读次数:
153
function getDir($dir) { $dirArray[] = NULL; if (false != ($handle = opendir( $dir ))) { $i=0; while ( false !== ($file = readdir( $handle )) )...
分类:
Web程序 时间:
2016-01-20 13:18:33
阅读次数:
227
/** * 得到常用路径 */ public void getDir(){ // /mnt/sdcard File root=Environment.getExternalStorageDirectory(); // /system File root=Environment.get...
分类:
移动开发 时间:
2015-12-31 12:17:53
阅读次数:
189
文件系统的API的命名方式和常规的不一样:都是get命名,但是功能就是能创建文件夹... 这种方式的API 命名习惯和常规的不一样... createXXX----方便查找 http://ipjmc.iteye.com/blog/1447097http://blog.csdn.net/hudash....
分类:
移动开发 时间:
2015-10-12 14:10:51
阅读次数:
195
getDatabasePath()
getCacheDir()
getFilesDir()
openFileInput()
openFileOutput()
fileList()
deleteFile()
getDir()
getCodeCacheDir()
getPackageCodePath()
getPackageResourcePath()
getExternalFilesDir(String type)
getExternalFilesDirs(String type)
getExterna...
分类:
移动开发 时间:
2015-07-29 21:23:24
阅读次数:
208