modernsky2003

2007年12月14日 #

模糊查询SQL

摘要: sql="select fid,fname from dnc_sys_employee where frolefid like '%" +Obj.ToString()+"%' order by fname"; 阅读全文

posted @ 2007-12-14 16:48 hekeneng 阅读(121) 评论(0) 推荐(0) 编辑

C#文件及目录处理

摘要: public string DisposeDirc(string SendPath,bool DisposeType) { try { if(SendPath.Substring(SendPath.Length - 1,1) != @"\") SendPath = SendPath + @"\"; DirectoryInfo dirc = new Di... 阅读全文

posted @ 2007-12-14 15:03 hekeneng 阅读(228) 评论(0) 推荐(0) 编辑

C#删除目录和目录下的所有文件

摘要: /// /// /// /// /// /// /// public void RemoteDownData(string Fid,string fname,string FPath,bool IsDel) { DirectoryInfo Dir = new DirectoryInfo(FPath); if(!Dir.Exists) ... 阅读全文

posted @ 2007-12-14 14:52 hekeneng 阅读(6082) 评论(5) 推荐(0) 编辑

C#2003 WINFORM 常用代码(一)

摘要: private void ItemSel(bool IsSel) { for(int i=0;i'9')&&e.KeyChar!=13&&e.KeyChar!=8) { e.Handled=true; MessageBox.Show("您只能输入数字,不能输入其它字符!","提示信息",MessageBoxButtons.OK ,MessageBoxIcon.... 阅读全文

posted @ 2007-12-14 14:35 hekeneng 阅读(409) 评论(0) 推荐(0) 编辑

导航