Billpeng Space

技术源自生活
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页

2009年9月17日

摘要: 1.访问http://www.bangso.com/ub/register.aspx,注册一个会员。 2.访问http://www.bangso.com/prize/list.aspx,查看你自己想要的QQ礼品(目前有QQ会员、红钻、绿钻和蓝钻),在这个页面中也可以查看到你目前的积分和已经推荐的好友数 3.将http://www.bangso.com/ub/register.aspx?ru=xin... 阅读全文

posted @ 2009-09-17 10:10 billpeng 阅读(2230) 评论(0) 推荐(0) 编辑

2009年9月10日

摘要: select t.* from GameScore t where id in(select top 3 id from GameScore where GameID=t.GameID order by Score desc) order by Score desc 阅读全文

posted @ 2009-09-10 15:33 billpeng 阅读(1110) 评论(0) 推荐(0) 编辑

2009年9月8日

摘要: 本周:select * from table where datediff(week,C_CALLTIME,getdate())=0 --C_CALLTIME 为日期字段 本月:select * from table where datediff(Month,C_CALLTIME,getdate())=0--C_CALLTIME 为日期字段 本季:select * from table where... 阅读全文

posted @ 2009-09-08 14:34 billpeng 阅读(196) 评论(0) 推荐(1) 编辑

2009年8月22日

摘要: 今天搞了六个小时,就是取不到值,最后发现原来是接收的flash导出的swf版本太低是6.0,换成9.0后解决以后这种小细节可以注意了,好浪费时间明天还有好多事要做,哎,睡了 阅读全文

posted @ 2009-08-22 03:33 billpeng 阅读(481) 评论(0) 推荐(0) 编辑

2009年6月24日

摘要: 一、查找重复记录1。查找全部重复记录Select * From 表 Where 重复字段 In (Select 重复字段 From 表 Group By 重复字段 Having Count(*)>1)2。过滤重复记录(只显示一条)Select * From HZT Where ID In (Select Max(ID) From HZT Group By Title)注:此处显示ID最大一条记录二、删除重复记录1。删除全部重复记录(慎用)Delete 表 Where 重复字段 In (Select 重复字段 From 表 Group By 重复字段 Having Count(*)> 阅读全文

posted @ 2009-06-24 10:34 billpeng 阅读(648) 评论(0) 推荐(0) 编辑

2009年5月21日

摘要: [代码] 阅读全文

posted @ 2009-05-21 14:15 billpeng 阅读(345) 评论(0) 推荐(0) 编辑

2009年4月24日

摘要: 这两天刚把 NHibernate和Spring.NET 学习了一下。发现这个从Java上移植过来的.net框架的确是很方便好用的。省去了大量写SQL语句带来的麻烦,有过太多次的调试SQL语句的经历,为 了拼凑一条SQL语句,花费了很多的时间,看的头昏眼花不说,调试也很麻烦,开了查询分析器不说,还要不停的把语句从DebugInfo中 [ctrl+c][ctrl+v],费时费力。有了这个框架,... 阅读全文

posted @ 2009-04-24 23:27 billpeng 阅读(534) 评论(0) 推荐(0) 编辑

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> --> NHibernate.Driver.SqlClientDriver Password=sa;Persist Security... 阅读全文

posted @ 2009-04-24 00:17 billpeng 阅读(253) 评论(0) 推荐(0) 编辑

2009年4月22日

摘要: 今天把Repeater的数据源从DataTable换成了IList,结果Repeater_ItemDataBound事件中的代码无法通过,提示:无法将类型为“Bangso.Module.Feeds”的对象强制转换为类型“System.Data.DataRowView”。 Code highlighting produced by Actipro CodeHighlighter (freeware... 阅读全文

posted @ 2009-04-22 12:05 billpeng 阅读(861) 评论(0) 推荐(0) 编辑

摘要: 数据绑定以及Container.DataItem几种方式与用法分析 [转] 阅读全文

posted @ 2009-04-22 11:26 billpeng 阅读(292) 评论(0) 推荐(0) 编辑

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 28 下一页