上一页 1 ··· 7 8 9 10 11 12 下一页
  2008年6月15日
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 1private void AddCode(Form form) 2{ 3 IDesignerHost host = null; 4 host = (IDesignerHost)... 阅读全文
posted @ 2008-06-15 01:25 think8848 阅读(407) 评论(1) 推荐(1) 编辑
摘要: 54.1 How to make my Component add itself to the contained Form's IContainer list? You do this inorder to ensure that your component gets disposed along with the contained Form (logical parent).... 阅读全文
posted @ 2008-06-15 01:06 think8848 阅读(505) 评论(0) 推荐(0) 编辑
  2008年6月4日
摘要: 1//清除命令字符串中的所有字符串 2string commandTextNoString = Regex.Replace(command.CommandText, @"['][\S]*[']", ""); 3 4Regex regex = new Regex(@"@[^,\s)]*"); 5//获取参数名列表 6MatchCollection matchs = regex.Matches(com... 阅读全文
posted @ 2008-06-04 13:58 think8848 阅读(584) 评论(0) 推荐(0) 编辑
  2008年5月27日
摘要: 注册前一定要把网络断开 Subscriber:QQ24785490 Subscription Code:DLR8ZC-855551-65657857678050018 阅读全文
posted @ 2008-05-27 11:03 think8848 阅读(6940) 评论(3) 推荐(0) 编辑
  2008年5月26日
摘要: string strSql = "insert into test_table" +"(zdsxh,zdsbm,mc,fzrbh,bxrbh,bxrq,sjfrom,sjto)values" +"(@zdsxh,@zdsbm,@mc,@fzrbh,@bxrbh,@bxrq,@sjfrom,@sjto)"; 将strSql替换成 string strSql = "insert into test_... 阅读全文
posted @ 2008-05-26 22:26 think8848 阅读(1717) 评论(0) 推荐(0) 编辑
  2008年5月25日
摘要: .net的辅助工具列表: Code generation NVelocity CodeSmith X-Code .NET XGoF - NMatrix / DEVerest Compilation eXtensible C# - ResolveCorp Mono DotGNU - GNU Obfuscation LS... 阅读全文
posted @ 2008-05-25 11:01 think8848 阅读(260) 评论(0) 推荐(0) 编辑
  2008年5月22日
摘要: 元数据 (metadata) 最常见的定义为"有关数据的结构数据",或者再简单一点就是"关于数据的信息",日常生活中的图例、图书馆目录卡和名片等都可以看作是元数据。在关系型数据库管理系统 (DBMS) 中,元数据描述了数据的结构和意义。比如在管理、维护 SQL Server 或者是开发数据库应用程序的时候,我们经常要获取一些涉及到数据库架构的信息: 某个数据库中的表和视图的个数以及名称 ; 某... 阅读全文
posted @ 2008-05-22 22:53 think8848 阅读(423) 评论(0) 推荐(0) 编辑
  2008年4月24日
摘要: 晚上抽空看了Mtaulty有关Linq to SQL的N集连播,大呼过瘾,看完才有不少感概,国外DPE的这些Evangelist真是在传教解惑,如果换成中文的,哪估计能普及更多中国的.NET 爱好者,想想几年前自己在DPE的时候,天天有数字的压力,每每像个小弟一样跟着Sales老大跑前跑后,是明白了很多的销售的道理,当时感觉自己像蜻蜓点水,不过话也说回来,那时候还没有这么多的方式,有是播又是拍、又... 阅读全文
posted @ 2008-04-24 20:57 think8848 阅读(627) 评论(0) 推荐(0) 编辑
  2008年4月21日
摘要: 1private void button1_Click(object sender, RoutedEventArgs e) 2 { 3 MessageBox.Show(CreateStateRow().RowState.ToString()); 4 } 5 6 public static R CreateStateRo... 阅读全文
posted @ 2008-04-21 20:15 think8848 阅读(535) 评论(0) 推荐(0) 编辑
  2008年4月17日
摘要: 可靠性最佳做法 下列可靠性规则是面向 SQL Server 的;但它们也适用于任何基于宿主的服务器应用程序。对于 SQL Server 这类服务器而言,不泄漏资源且不降低性能极其重要。但是,并不能通过为每个更改对象状态的方法编写退出代码来实现这两个目标。我们的目标不是编写 100% 可靠并能够通过退出代码从任意位置的任何错误中进行恢复的托管代码。那样做的话任务过于艰巨,且成功的可能性微乎其... 阅读全文
posted @ 2008-04-17 09:52 think8848 阅读(881) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页