上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
  2006年12月12日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Configuration;usingSystem.Data.SqlClient;namespaceWangKang.DataBase...{publicclassWebDB:DB...{privatestringconnstring=ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;//查询所有 阅读全文
posted @ 2006-12-12 21:58 wkjs 阅读(170) 评论(0) 推荐(0) 编辑
  2006年12月10日
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data;usingSystem.Configuration;usingSystem.Windows.Forms;usingSystem.Data.SqlClient;namespaceWangKang.DataBase...{publicclassWinDB:DB...{privatestringconnstring=@"DataSource=.SQLEXPRESS;IntegratedSecurity=True;UserInstance 阅读全文
posted @ 2006-12-10 10:59 wkjs 阅读(156) 评论(0) 推荐(0) 编辑
摘要: --创建数据库scrolldynamiccreatedatabaseDatabase1GO--置此数据库为当前数据库useDatabase1GO--创建学生表createtablestudent(SIDvarchar(20)primarykey,--学生编号SNamevarchar(20),--学生姓名SClassvarchar(20),--学生班级SSexvarchar(10),--学生性别SScorefloatdefault(0)check(SScore>=0)--学生平均分)GO--创建课程表createtableclass(EIDvarchar(20)primarykey,--课 阅读全文
posted @ 2006-12-10 09:34 wkjs 阅读(223) 评论(0) 推荐(0) 编辑
  2006年12月6日
摘要: protectedvoidGridView1_RowCreated(objectsender,GridViewRowEventArgse)...{if(e.Row.RowType==DataControlRowType.DataRow)...{e.Row.Attributes.Add("onmouseover","c=this.style.backgroundColor;this.style.backgroundColor='#00ffee'");e.Row.Attributes.Add("onmouseout",&q 阅读全文
posted @ 2006-12-06 21:10 wkjs 阅读(157) 评论(0) 推荐(0) 编辑
  2006年10月20日
摘要: 网页中层或菜单被Flash挡住的解决办法 网页层或菜单经常被flash盖住部分看不到,影响美观,在flash代码中加入以下代码:<param name="wmode" value="Opaque">即可解决被flash遮挡看不到图层或菜单的问题了.OBJECT代码<objectclassid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash 阅读全文
posted @ 2006-10-20 15:35 wkjs 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.css 字体简写规则当使用css定义字体时你可能会这样做:font-size: 1em;line-height: 1.5em;font-weight: bold;font-style: italic;font-variant: small-caps;font-family: verdana,serif; 事实上你可以简写这些属性:font: 1em/1.5em bold italic small-caps verdana,serif 现在好多了吧,不过有一点要注意:使用这一简写方式你至少要指定font-size和font-family属性,其他的属性(如font-weight, font- 阅读全文
posted @ 2006-10-20 15:25 wkjs 阅读(202) 评论(0) 推荐(0) 编辑
  2006年9月24日
摘要: 人…… 阅读全文
posted @ 2006-09-24 19:03 wkjs 阅读(133) 评论(0) 推荐(0) 编辑
  2006年9月18日
摘要: 老婆和老妈同时掉在了水里,你先救谁?据说这个是问倒天下好男人的问题,一直没有人能给出两全其美的答案。偶今天在网上溜达,偶尔发现了这个问题的答案,原来古人早已作答,偶把古人的“答案”贴出来,博君一笑尔让我们来看看古人是怎么做的:孟子从小死了老爸,老妈拉扯我不容易,为了让我健康成长,又搬了三次的家,给我吃好的穿好的为得就是让我有出息。老妈和老婆落水当然先救老妈了,万恶淫为首,百善孝为先嘛!老婆死了我可以再找一个,老妈死了可不能再找一个,再找一个那就是後妈了。听说後妈没几个好的。—————「世上只有妈妈好,没妈的孩子像根草。老妈,我来救你了」。扑通一声孟子跳下了水。周幽王老婆和老妈落水了当然得先救老 阅读全文
posted @ 2006-09-18 13:40 wkjs 阅读(196) 评论(0) 推荐(0) 编辑
  2006年9月17日
摘要: 海量数据库的查询优化及分页算法方案(一)深入浅出理解索引结构 实际上,您可以把索引理解为一种特殊的目录。微软的SQL SERVER提供了两种索引:聚集索引(clustered index,也称聚类索引、簇集索引)和非聚集索引(nonclustered index,也称非聚类索引、非簇集索引)。下面,我们举例来说明一下聚集索引和非聚集索引的区别: 其实,我们的汉语字典的正文本身就是一个聚集索引。比如,我们要查“安”字,就会很自然地翻开字典的前几页,因为“安”的拼音是“an”,而按照拼音排序汉字的字典是以英文字母“a”开头并以“z”结尾的,那么“安”字就自然地排在字典的前部。如果您翻完了所有以“a 阅读全文
posted @ 2006-09-17 03:59 wkjs 阅读(142) 评论(0) 推荐(0) 编辑
  2006年9月16日
摘要: /**//************************************************作者:王康*作用:存储过程简单操作*时间:2006/9/16***********************************************/--创建数据库--createdatabasetest--GO--usetest--GO----创建表--createtabletest(testIDintprimarykeyidentity(1,1),testNamevarchar(10))--GO----创建插入存储过程--createproceduresp_insertTest( 阅读全文
posted @ 2006-09-16 09:07 wkjs 阅读(159) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页