Sady Home

Note my coding life

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年4月25日

摘要: Maybe I need to mark and record in the next life.So I will learn how to manage projectwhile working. 阅读全文
posted @ 2010-04-25 21:16 Sady 阅读(133) 评论(0) 推荐(0) 编辑

2010年2月25日

摘要: 阅读全文
posted @ 2010-02-25 16:05 Sady 阅读(192) 评论(0) 推荐(0) 编辑

2010年1月21日

摘要: <% url = "http://www.remotesite.com/out.asp" ' add a BASE HREF tag for remote page which has relative image URLs, or style sheets, or JavaScript files 阅读全文
posted @ 2010-01-21 10:07 Sady 阅读(157) 评论(0) 推荐(0) 编辑

2010年1月18日

摘要: Rs.Open语法如下:Rs.Open Source,ActiveConnection,CursorType,LockType Source为sql语句,ActiveConnection为数据库连接,CursorType是游标,LockType是数据锁定类型.CursorType 常量说明adOpenForwardOnly(值为0)打开仅向前类型游标(默认值),只能向前浏览记录,不支持分页,Rec... 阅读全文
posted @ 2010-01-18 11:36 Sady 阅读(167) 评论(0) 推荐(0) 编辑

2010年1月11日

摘要: UPDATEtestTableSETtestNtext = REPLACE(CAST(testNtext AS NVARCHAR(1000)),'&nbsp;',' ')WHEREtestNtext LIKE '%&nbsp;%' 阅读全文
posted @ 2010-01-11 12:38 Sady 阅读(129) 评论(0) 推荐(0) 编辑

2009年9月4日

摘要: MsSql: SELECTTOP 10 * FROMmyTable ORDER BY NEWID()Access: SELECTTOP 10 id FROM myTable ORDER BY RND(id)mySql: SELECT id FROM myTable ORDER BY RAND() LIMIT 10 阅读全文
posted @ 2009-09-04 13:12 Sady 阅读(197) 评论(0) 推荐(0) 编辑

2009年5月5日

摘要: in iis, create an independentapplication pool for the web site. enable asp server-side and client-side script debugging (properties - home directory - configuration - debugging). unenable anonymous ac... 阅读全文
posted @ 2009-05-05 13:03 Sady 阅读(201) 评论(0) 推荐(0) 编辑

2009年5月4日

摘要: 1. Delete the repeated records, not include Identity Increment ID (Col0)DELETE FROM Table WHERE Col0 NOT IN( SELECT MIN(Col0) FROM Table GROUP BY Col1,Col2,Col3,Col4,Col5 ) 2. Get all students' scoreS... 阅读全文
posted @ 2009-05-04 16:33 Sady 阅读(184) 评论(0) 推荐(0) 编辑

2009年4月22日

摘要: Class className [Public|Private] propertyName Private Sub Class_Initialize() '...action when the class initialize End Sub 'Cleaning up. 'Unhand that RAM you hog ! Private Sub Class_Terminate() '...ac... 阅读全文
posted @ 2009-04-22 19:06 Sady 阅读(228) 评论(0) 推荐(0) 编辑

2009年4月17日

摘要: Today, I read an article about "Do not believe...". It mentions javascript injection attack.Yes, crazy! I do never know this problem.In the url address input the code:javascript:alert(window.c=functio... 阅读全文
posted @ 2009-04-17 17:29 Sady 阅读(244) 评论(0) 推荐(0) 编辑

凭飞堂