modernsky2003

上一页 1 ··· 19 20 21 22 23

2007年12月17日 #

c#1.1代码(二)

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

posted @ 2007-12-17 16:33 hekeneng 阅读(387) 评论(0) 推荐(0) 编辑

C#代码

摘要: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using rulebase; using System.Data; using WindControl; namespace DNCMANAGER.UserSi... 阅读全文

posted @ 2007-12-17 16:09 hekeneng 阅读(328) 评论(0) 推荐(0) 编辑

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) 编辑

2007年12月13日 #

c#中使用 crystal reports (水晶报表)的打包和部署问题

摘要: 下午搜了一下帖子,终于搞定了 1)新建“安装和部署项目”-->“安装向导” (2)选择项目类型(这里选“创建用于windows应用程序的安装程序”)-->下一步 (3)选择要包含的文件:要部署使用 Crystal Reports for Visual Studio .NET 2003 的程序,需要添加合并模块(在解决方案资源管理器中tree的顶端节点右键-->添加). Cryst... 阅读全文

posted @ 2007-12-13 16:26 hekeneng 阅读(429) 评论(0) 推荐(0) 编辑

WEB程序SQLSERVER 数据库恢复与备份

摘要: Math.DivRem(DateTime.Now.Day,2,out residiu); if(residiu==0) Name="Double";else Name="Single"; SaveDir=SaveDir+Name+".dat"; SaveDir=@"BACKUP DATABASE [crib2] TO DISK = N'd:\20070717\crib2.b... 阅读全文

posted @ 2007-12-13 11:11 hekeneng 阅读(221) 评论(0) 推荐(0) 编辑

上一页 1 ··· 19 20 21 22 23

导航