摘要: 1.调试程序出现这个错误an error occurred while validating解决方案:http://stackoverflow.com/questions/8648428/an-error-occurred-while-validating-hresult-8000000aopen ... 阅读全文
posted @ 2014-06-09 09:10 ChuckLu 阅读(2906) 评论(0) 推荐(0) 编辑
摘要: String类1.方法public int IndexOf( char value)报告指定 Unicode 字符在此字符串中的第一个匹配项的从零开始的索引。如果找到该字符,则为 value 的从零开始的索引位置;如果未找到,则为 -1。 2.public string Substring( int 阅读全文
posted @ 2014-05-27 16:32 ChuckLu 阅读(283) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Globalization;using System.IO;using System.Runtime.Comp... 阅读全文
posted @ 2014-02-19 13:05 ChuckLu 阅读(2281) 评论(0) 推荐(1) 编辑
摘要: http://tieba.baidu.com/p/1253046423指针的解释(搞笑的)问题:学到指针了,我知道int a=10;int* p1=&a;int** p2=&p1;p1里存的是A的地址,*p1=10,但是二级指针就不懂了,能具体说一下,**p2,*p2,p2,都代表什么吗a是一部在线... 阅读全文
posted @ 2014-02-19 13:04 ChuckLu 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 甲乙两个人用一个英语单词玩游戏。两个人轮流进行,每个人每次从中删掉任意一个字母,如果剩余的字母序列是严格单调递增的(按字典序a dictionaryStr = new Dictionary(); static void Main(string[] arg... 阅读全文
posted @ 2013-12-26 09:44 ChuckLu 阅读(2356) 评论(0) 推荐(0) 编辑
摘要: Location 数据库--可编程性--类型--用户定义表类型 select one database--> programmability-->types-->user--defined table types SQL Query-->Specify values for template par 阅读全文
posted @ 2013-12-05 11:52 ChuckLu 阅读(798) 评论(0) 推荐(0) 编辑
摘要: TempTable临时表 临时表是在TempDB中创建的表。临时表的名称都以“#”开头。 临时表的范围为创建临时表的连接。因为,临时表不能在两个连接之间共享,一旦连接关闭,临时表就会被丢弃。 如果临时表被创建于存储过程之中,则临时表的范围在存储过程之中,或者被该存储过程调用的任何存储过程之中。如果需 阅读全文
posted @ 2013-12-05 11:32 ChuckLu 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 旧版本 先监视DataSet,打开dataset,dataset下面有一个tablesTables打开有一个非公共成员,然后下面有一个List,List中存储了每一张表的信息 下图所示的List下面的[0]表明此dataset中只是存储了一张表 如何查看表中的数据 row中的数据在ItemArray 阅读全文
posted @ 2013-12-04 11:07 ChuckLu 阅读(950) 评论(0) 推荐(0) 编辑
摘要: max=5*x1+3*x2+6*x3;x1+2*x2+x3<=18;2*x1+x2+3*x3=16;x1+x2+x3=10;@free(x3);end计算机求出最优解Global optimal solution found. Objective value: 46.00000 Total solv... 阅读全文
posted @ 2013-02-17 13:25 ChuckLu 阅读(323) 评论(0) 推荐(0) 编辑
摘要: ********************************************************************************* 此大牛的文章绝对不可错过[指出来了微软官方demo的bug,还分析了服务端发送的buffer大于客户端buffer的处理方案] http 阅读全文
posted @ 2012-11-28 17:06 ChuckLu 阅读(2160) 评论(2) 推荐(1) 编辑