09 2012 档案

摘要:Process[] processCurrent = Process.GetProcesses();//得到系统中存在的进程 for (int i = 0; i < processCurrent.Length; i++) { ... 阅读全文
posted @ 2012-09-30 23:59 永远的菜鸟@me 阅读(351) 评论(0) 推荐(0)
摘要:sql高级编程知识 2008-05-09 14:22:24| 分类: 默认分类 | 标签: |字号大中小 订阅 . 1.局部变量声明和赋值应用 例子1: declare @name varchar(8) set @name ='鑫联华'--或者select @name='鑫联华' print @name --打印变量 select * from office where officeNa... 阅读全文
posted @ 2012-09-27 17:37 永远的菜鸟@me 阅读(258) 评论(0) 推荐(0)
摘要:这个问题出现的关键原因在于用了USING,如下: using 在使用完后,会自动关闭conn连接,这才是真正的原因,之前我还以为是用了多层架构弓起的,结果试了好多次始终没能解决,差点就用了DATASET了, 了解了这一点,问题迎刃而解,把上面的USING 改一下, ////using (SqlConnection conn = new SqlConnection(GetConStr(... 阅读全文
posted @ 2012-09-26 09:39 永远的菜鸟@me 阅读(278) 评论(0) 推荐(0)
摘要://窗体添加 控件 ,然后将GridControl 相关属性栏对应上新加的控件 切记 本文是转帖,稍作修改 private void toolTipController1_GetActiveObjectInfo(object sender, DevExpress.Utils.ToolTipControllerGetActiveObjectInfoEventArgs e) ... 阅读全文
posted @ 2012-09-25 13:14 永远的菜鸟@me 阅读(330) 评论(0) 推荐(0)
摘要:public class MyProgress { private int MaxNum; Form progressForm = null; ProgressBar progressBar1 = null; bool Stop = false; Label label1; public bool ProgressStep(int step) { if (Stop) ... 阅读全文
posted @ 2012-09-24 11:20 永远的菜鸟@me 阅读(187) 评论(0) 推荐(0)