摘要:
1、owerDraw 设置为true2、实现事件DrawColumnHeaderDrawItemDrawSubItemprivate void listView1_DrawColumnHeader(object sender, DrawListViewColumnHeaderEventArgs e)... 阅读全文
摘要:
if (m_dgvList.SelectedRows.Count > 0) { int intCurrApp = m_dgvList.SelectedRows[0].Index; ... 阅读全文
摘要:
//首先引用 条码库BarcodeLib.dllusing System;using System.Collections.Generic;using System.Linq;using System.Text;using BarcodeLib;using System.IO;namespace T... 阅读全文
摘要:
//测试用的 导出查询的DataTable public static void Export(DataTable dtResult) { string strHeader =null; string LogName=@"d:\code\t... 阅读全文
摘要:
private void dataTableToCsv(DataTable table, string file) { string title = ""; FileStream fs = new FileStream(fil... 阅读全文
摘要:
public DataTable am_Decode() { DataTable table = new DataTable(); string[] strAscDataList = Directory.GetFileSystemEntrie... 阅读全文
摘要:
alter table ts_sample modify(petid_chr varchar(20)) 阅读全文
摘要:
--统计每天指定时间段内的数据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 阅读全文
摘要:
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:查看 阅读全文