08 2008 档案

sa登录时的各种错误
摘要:一·错误提示: 无法连接到服务器 服务器:消息18452, 级别16,状态1 [Microsoft][ODBC SQL Server Driver][SQL Server]用户‘sa’登陆失败.原因:未与信任SQLServer连接相关联 该错误产生的原因是由于SQL Server使用了“仅 Windows的身份验证... 阅读全文

posted @ 2008-08-31 20:39 simhare 阅读(519) 评论(0) 推荐(0)

服务器上有两个版本的数据库,sa登录
摘要:sql server访问时用dataSource=. 不能登录,最后的原因是服务器上装有sql2000 和sql2005两个数据库,而sql 2000的sa的密码不为空。 估计asp.net程序也不知道该连那个数据库。 阅读全文

posted @ 2008-08-28 08:41 simhare 阅读(179) 评论(0) 推荐(0)

---select的属性
摘要:---select的属性 阅读全文

posted @ 2008-08-27 10:27 simhare 阅读(917) 评论(0) 推荐(0)

静态构造器----普通构造器
摘要:static的构造函数同时的函数会优先于全局构造函数的调用,但其只在第一次构造时调用 这种情况需要程序员注意 我用mono的编译器和 2003 /2005 的csc都测试过,结果是一样的 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->u... 阅读全文

posted @ 2008-08-26 21:56 simhare 阅读(123) 评论(0) 推荐(0)

asp.net跨页面提交
摘要:在ASP.net 1.X 版本中,页面都是提交到自己本身,并不能方便的指定需要提交的目的页面。例如FirstPage.aspx中的button只能提交到FirstPage.aspx,而不能提交到SecondPage.aspx。很多时候,ASP.NET 1.X这样工作方式使我们的开发方式受到不少限制。熟悉ASP/JSP/PHP的朋友大概很不习惯,因为以前经常使用的提交方式突然无法使用,虽然也有解决... 阅读全文

posted @ 2008-08-26 21:22 simhare 阅读(249) 评论(0) 推荐(0)

comm.parameters.add方法
摘要:尽管普通的sql语句代码可以实现数据插入的操作,但是更好的代码应该是参数的方式: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->string a = TextBox1.Text;//不必担心注入脚本攻击 string b = T... 阅读全文

posted @ 2008-08-26 21:11 simhare 阅读(1422) 评论(3) 推荐(0)

a++与++a的区别
摘要:一个C++的函数:int operation(int numberA,int numberB){ return numberA + numberB;}然后声明了三个变量:int a = 2;int result1 = operation(5, a++);//5+2int result2 = operation(5+a, ++a);//8+4问result1和result2的值。原先以为考得是传值、... 阅读全文

posted @ 2008-08-26 21:04 simhare 阅读(607) 评论(0) 推荐(0)

rickie sql server 数据库清理
摘要:SQL SERVER数据库清理DB LOG 日志的逻辑文件名是DBNAME_LOG,数据库DBNAME: USE DBNAME BACKUP LOG DBNAME WITH NO_LOG --截断事务日志 GO OPTION 1: DBCC SHRINKFILE(DBNAME_LOG,10) --收缩事务日志 GO OPTION 2... 阅读全文

posted @ 2008-08-26 20:35 simhare 阅读(175) 评论(0) 推荐(0)

sql ntext数据类型
摘要:ntext和varchar 都不支持where isnull(solution,'') '' 这样的操作。 至少ntext是绝对不行。 nvarchar(4000)就可以。 阅读全文

posted @ 2008-08-26 13:43 simhare 阅读(883) 评论(0) 推荐(0)

match of javascript
摘要:match 方法 使用正则表达式模式对字符串执行查找,并将包含查找的结果作为数组返回。\\ stringObj.match(rgExp) 参数\\ stringObj 必选项。对其进行查找的 String 对象或字符串文字。 rgExp 必选项。为包含正则表达式模式和可用标志的正则表达式对象。也可以是包含正则表达式模式和可用标志的变量名或字符串文字。 说明\\ 如果 match ... 阅读全文

posted @ 2008-08-26 13:37 simhare 阅读(271) 评论(0) 推荐(0)

读书笔记 黄忠诚 标签 --ORM
摘要:2-2-4 新思维,Attribute-Center Designing 本节中将运用Attribute技术实现一个简单的ORM。什么是ORM呢?简单地说,就是将数据表对应成对象,ORM的对应方式有很多种,本节中采取Record Mapping(记录映像)的方式。在开始之前,得先想想要如何实现Record Mapping模式,既然是以Record为单位,那么想当然一笔Record就会对应... 阅读全文

posted @ 2008-08-25 21:22 simhare 阅读(171) 评论(0) 推荐(0)

读书笔记 黄忠诚 标签
摘要:2-2-1 Attributes语义学 程序语言历经多次革命,多重继承已渐渐消失于近代程序语言中,其空下的位置也正式由接口(Interface)所取代。另一方面,对象持久机制也慢慢成为程序语言的基本建设之一,不过目前出现一个诡谲的现象,在Java语言中,类要支持Serialization就必须声明成如程序2-8的形式。 程序2-8 ... 阅读全文

posted @ 2008-08-25 21:15 simhare 阅读(228) 评论(0) 推荐(0)

读书笔记 黄忠诚 事件
摘要:读书笔记 黄忠诚 事件 阅读全文

posted @ 2008-08-25 20:43 simhare

读书笔记 黄忠诚 属性
摘要:asp.net 组件设计 属性 阅读全文

posted @ 2008-08-25 20:38 simhare 阅读(175) 评论(0) 推荐(0)

js 常用函数
摘要:js常用函数 阅读全文

posted @ 2008-08-23 02:22 simhare 阅读(230) 评论(0) 推荐(0)

css 模仿导航栏
摘要:css 模仿导航 阅读全文

posted @ 2008-08-22 08:42 simhare 阅读(185) 评论(0) 推荐(0)

table 的bordercolorlight 属性导致页面报js错误
摘要:table 的bordercolorlight 属性导致页面报js错误 阅读全文

posted @ 2008-08-21 14:10 simhare

IE Web Controls
摘要:IE Web Controls Config 阅读全文

posted @ 2008-08-21 13:12 simhare

关掉Windows 2000/XP/2003等里面的PC喇叭,扬声器,beep(嘟嘟声)
摘要:关掉Windows 2000/XP/2003等里面的PC喇叭,扬声器,beep(嘟嘟声) 阅读全文

posted @ 2008-08-20 13:42 simhare

sql server 管道的另一端上无任何进程
摘要:sql server 管道的另一端上无任何进程 阅读全文

posted @ 2008-08-10 09:26 simhare 阅读(5008) 评论(0) 推荐(0)

sa登录失败!错误号18456
摘要:sa登录失败!错误号18456 阅读全文

posted @ 2008-08-10 09:22 simhare

事件查看器
摘要:windows事件查看器 阅读全文

posted @ 2008-08-07 20:21 simhare 阅读(501) 评论(0) 推荐(0)

page design
摘要:page design 阅读全文

posted @ 2008-08-06 03:05 simhare

asp 无限级菜单联动
摘要:asp 无限级菜单联动 阅读全文

posted @ 2008-08-05 21:33 simhare

asp菜单联动
摘要:asp菜单联动 阅读全文

posted @ 2008-08-05 21:08 simhare 阅读(930) 评论(0) 推荐(0)

定义XML文档
摘要:定义XML文档 阅读全文

posted @ 2008-08-02 06:32 simhare 阅读(611) 评论(0) 推荐(0)

xml 理解
摘要:XML SOAP SAX xmlWriter xmlReader & XPath 阅读全文

posted @ 2008-08-02 06:14 simhare 阅读(160) 评论(0) 推荐(0)

html中xml数据岛
摘要:html中xml数据岛的简单实现 阅读全文

posted @ 2008-08-02 05:45 simhare 阅读(315) 评论(0) 推荐(0)

导航