2010年10月15日

摘要: // 这一行在页面顶加入 validateRequest=falsepublic static string NoHTML(string Htmlstring) //替换HTML标记 { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"<script[^>]*?>.*?</script>", "", RegexOpti... 阅读全文
posted @ 2010-10-15 13:31 胖子黎 阅读(610) 评论(0) 推荐(0) 编辑
摘要: SQL code1.Create Table TableXml(id int identity(1,1) Primary Key,x xml)GoInsert Into TableXml Select ' ' Union Select ' 'Go--问题:如何把 更新成 --方法比较笨--应该有比较好的吧,可是我没想到declare @NewName varchar(20) declare @N... 阅读全文
posted @ 2010-10-15 10:56 胖子黎 阅读(373) 评论(0) 推荐(1) 编辑

2010年10月13日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { int[][] myArr = new int[2][]; myArr[0... 阅读全文
posted @ 2010-10-13 12:07 胖子黎 阅读(298) 评论(0) 推荐(0) 编辑

2010年10月11日

摘要: 平台:XP3 + Vs 2008 专业版,专门下的SQL Server Management Studio Express.到现在也没有明白到登陆的时候一个windows验证和SQL 验证的区别。在里面建表过后,如果要选择成SQL 验证。首先把表的属性里面安全性改为SQL和windows混合模式。登陆名里面新建一个用户,把强制密码过期去掉。//项目里面调试的时候调用即时窗口。 public par... 阅读全文
posted @ 2010-10-11 00:51 胖子黎 阅读(1305) 评论(0) 推荐(0) 编辑

2010年10月7日

摘要: Visual Studio 2010:YCFHQ-9DWCY-DKV88-T2TMH-G7BHP EVEREST Ultimate Edition:C4J1I-PHG47-A9FC6-8RFPF-LAR6L CDBVF-7E347-SRFC2-CRI7F-JNRFN FQN6H-DFJ47-8WFWB-YI1ZF-TVUKDRE96E-XIB47-HM4SY-I498F-98MVU CCLH4-F... 阅读全文
posted @ 2010-10-07 11:40 胖子黎 阅读(637) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ /// ///定义两个操作方法 /// class MathOperations { public static double MultilyByx2(double val... 阅读全文
posted @ 2010-10-07 00:21 胖子黎 阅读(1010) 评论(0) 推荐(0) 编辑

2010年9月28日

摘要: using System;using System.Threading;namespace ConsoleApplication1{ //class Program //{ // static void Main(string[] args) // { // Thread DepthChangedThread = new Thread(delegate() { Console.WriteLine(... 阅读全文
posted @ 2010-09-28 12:38 胖子黎 阅读(163) 评论(0) 推荐(0) 编辑

2010年9月24日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Collections.Specialized;namespace ConsoleApplication1{ class Program { static vo... 阅读全文
posted @ 2010-09-24 23:22 胖子黎 阅读(155) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections.Specialized;using System.Collections;namespace ConsoleApplication1 //这个小程序是关于hashtable的,自己感觉就... 阅读全文
posted @ 2010-09-24 12:45 胖子黎 阅读(300) 评论(0) 推荐(0) 编辑

2010年9月23日

摘要: ActiveX的数字签名关键字: 数字签名 [转] Delphi 发布ActiveX控件 数字签名 原作者:光明兄弟 最近我正在研究ActiveX技术。我使用Delphi 7创建了一个具有ActiveForm的ActiveX控件应用程序。这个控件产生一个.OCX文件。现在,我需要把这个控件部署在服务器端,在用户浏览网页并选择安装这个控件的时候,用户的IE才会下载、安装并显示这个控件。 但是我的控件... 阅读全文
posted @ 2010-09-23 01:12 胖子黎 阅读(2051) 评论(0) 推荐(0) 编辑

导航