程序笔记
随心而记
摘要: 常见CSV文件的操作 从DataTable导入到CSVCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Private Function ExportCsvProcess(ByVal FilePath As String ByVal, dt As Dat... 阅读全文
posted @ 2008-10-08 19:34 蝎 阅读(3812) 评论(1) 推荐(0) 编辑
摘要: .net转换关键字:operator、explicit与implicit operator、explicit与implicit 很少用到,但也不能不知道,发现这篇写很好,转一篇 operator operator 关键字用于在类或结构声明中声明运算符。运算符声明可以采用下列四种形式之一: 1. public static result-type opera... 阅读全文
posted @ 2008-10-06 18:14 蝎 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 表test中有单个字段A,B,C,以A的某一值Value(A)为划分线,小于Value(A)的为旧数据Old(test),大于等于Value(A)的为新数据New(test),如果New(test)中的字段B存在数据行NewRow(test)和Old(test)中字段B相等的数据行OldRow(test),则将OldRow(test)的字段C 赋值到为NewRow (test)的C字段中,当不存在... 阅读全文
posted @ 2008-09-25 18:31 蝎 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 程序代码如下:(但要引入Excel类库) Public Class clsExcelClass Private m_xlsObj As Excel.Application Private m_xlsWbk As Excel.Workbook Private m_xlsSht As Excel.Worksheet Public ReadOnly Property Co... 阅读全文
posted @ 2008-09-15 11:21 蝎 阅读(1912) 评论(0) 推荐(0) 编辑