摘要: 1、owerDraw 设置为true2、实现事件DrawColumnHeaderDrawItemDrawSubItemprivate void listView1_DrawColumnHeader(object sender, DrawListViewColumnHeaderEventArgs e)... 阅读全文
posted @ 2015-10-10 11:17 公寓城影子传说 阅读(367) 评论(0) 推荐(0) 编辑
摘要: if (m_dgvList.SelectedRows.Count > 0) { int intCurrApp = m_dgvList.SelectedRows[0].Index; ... 阅读全文
posted @ 2015-05-22 15:36 公寓城影子传说 阅读(546) 评论(0) 推荐(0) 编辑
摘要: //首先引用 条码库BarcodeLib.dllusing System;using System.Collections.Generic;using System.Linq;using System.Text;using BarcodeLib;using System.IO;namespace T... 阅读全文
posted @ 2015-05-22 15:32 公寓城影子传说 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: //测试用的 导出查询的DataTable public static void Export(DataTable dtResult) { string strHeader =null; string LogName=@"d:\code\t... 阅读全文
posted @ 2015-03-11 16:48 公寓城影子传说 阅读(193) 评论(0) 推荐(0) 编辑
摘要: private void dataTableToCsv(DataTable table, string file) { string title = ""; FileStream fs = new FileStream(fil... 阅读全文
posted @ 2015-02-11 17:52 公寓城影子传说 阅读(194) 评论(0) 推荐(0) 编辑
摘要: public DataTable am_Decode() { DataTable table = new DataTable(); string[] strAscDataList = Directory.GetFileSystemEntrie... 阅读全文
posted @ 2014-12-08 15:17 公寓城影子传说 阅读(189) 评论(0) 推荐(0) 编辑
摘要: alter table ts_sample modify(petid_chr varchar(20)) 阅读全文
posted @ 2014-07-08 11:07 公寓城影子传说 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 原子锁临界区互斥量信号量事件 阅读全文
posted @ 2014-03-18 10:35 公寓城影子传说 阅读(118) 评论(0) 推荐(0) 编辑
摘要: --统计每天指定时间段内的数据select count(*) as 每天数量, trunc(t.modify_dat,'DD')from t_total twhere t.modify_dat between to_date('2012-7-24','yyyy-mm-dd') and to_date('2012-7-30','yyyy-mm-dd') and to_number(to_char(t.modify_dat,'hh24')) between 12 and 14group by trunc 阅读全文
posted @ 2013-10-16 20:44 公寓城影子传说 阅读(382) 评论(0) 推荐(0) 编辑
摘要: using namespace System;using namespace System::IO;void ShowHelpMsg(){ Console::WriteLine(L"本程序可用的命令如下(命令全部用小写):"); Console::WriteLine(); Console::WriteLine(L"cd 子目录:进入指定的子目录,如 cd subdir"); Console::WriteLine(L"dir:查看当前目录下的所有子目录和文件"); Console::WriteLine(L"dirinfo:查看 阅读全文
posted @ 2013-09-11 22:22 公寓城影子传说 阅读(362) 评论(0) 推荐(0) 编辑