上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
  2008年4月21日
摘要: SQL统计语句 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->如: 表:consume_record 字段:consume (money类型) date (datetime类型) 请问怎么写四条sql语句分别按日,按周,按月,按季统计消费总... 阅读全文
posted @ 2008-04-21 12:00 Gary.han 阅读(831) 评论(1) 推荐(0) 编辑
  2008年4月3日
摘要: 注意,一般SQL2000的备份文件还原后都会带有原来的用户控制权限,但如果关联到SQL2005的登录用户会出现程序访问数据库异常发生。所以建议删除架构和老的数据库管理用户。 --删除架构 drop schema allcom4 go --删除用户 drop user allcom4 go 阅读全文
posted @ 2008-04-03 17:06 Gary.han 阅读(600) 评论(0) 推荐(0) 编辑
  2008年3月31日
摘要: ASP调用Web服务事例 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> BillSurveyJoinxxYtrq2v7Nmrsw1BillSurveyJoin" 'Response.Write tmp objHTTP.Open "POST", ... 阅读全文
posted @ 2008-03-31 16:08 Gary.han 阅读(5548) 评论(3) 推荐(1) 编辑
  2008年3月25日
摘要: //检查是否存在该数据库strDatabase数据库名称 string strSqlName = "SELECT * FROM SysDatabases where [name]= '"+strDatabase+"'"; //获得bak文件的日志和数据文件的信息dirPath物理路径 string strSql="RESTORE FILELISTONLY FROM DISK ='"+dirPat... 阅读全文
posted @ 2008-03-25 17:39 Gary.han 阅读(1830) 评论(0) 推荐(0) 编辑
  2008年1月29日
摘要: Timer.Start() 了但只执行了一次Elapsed事件就停止不执行了,原因是您在设置Timer控件属性的时候没有设置AutoReset 为 true 如果将 Enabled 设置为 true 并将 AutoReset 设置为 false,则 Timer 在第一次达到间隔时仅引发一次 Elapsed 事件。当 Enabled 为 true 并且 AutoReset 为 true 时,Ti... 阅读全文
posted @ 2008-01-29 16:18 Gary.han 阅读(1884) 评论(0) 推荐(0) 编辑
  2007年12月24日
摘要: Select top 100 State,JoinState, (case when State=1 and Joinstate=0 then 2 when State=1 and JoinState=1 then 1 else 0 end) as usestate from UserInfo 阅读全文
posted @ 2007-12-24 10:52 Gary.han 阅读(13632) 评论(0) 推荐(0) 编辑
  2007年11月28日
摘要: IRSpiderWS.SaveSpiderData saveSpider = new IRSpiderWS.SaveSpiderData(); saveSpider.Url = System.Configuration.ConfigurationSettings.AppSettings["IRSpiderWS"]; //如下是设置系统认证 saveS... 阅读全文
posted @ 2007-11-28 16:54 Gary.han 阅读(3915) 评论(1) 推荐(0) 编辑
  2007年11月12日
摘要: 按键以及鼠标点击事件 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->事件名称 说明 onkeypress 这个事件在用户按下并放开任何字母数字键时发生。系统按钮(例如,箭头键和功能键)无法得到识别。 onkeyup ... 阅读全文
posted @ 2007-11-12 13:02 Gary.han 阅读(665) 评论(0) 推荐(0) 编辑
  2007年11月5日
摘要: 主页调用iFrame如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> iFrame页(子页)调用JS函数,可调整主页调用的iFrame的高度 Code highlighting produced by Actipro CodeHighlight... 阅读全文
posted @ 2007-11-05 16:11 Gary.han 阅读(2049) 评论(0) 推荐(0) 编辑
  2007年9月17日
摘要: CSS自动适应列表宽度显示内容 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->.Grid_Extend { table-layout:fixed; } .GridItem { OVERFLOW: hidden; WHITE-... 阅读全文
posted @ 2007-09-17 14:41 Gary.han 阅读(422) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页