12 2007 档案

摘要:(在SQLserver环境下测试通过) 数值型: select * from table where id in(1,2,3,4) order by charindex(','+ltrim(rtrim(str(id)))+',',',1,2,3,4,') 字符型: select * from table where usn in('aaa','bbb','ccc','ddd') orde... 阅读全文
posted @ 2007-12-27 15:25 missthe 阅读(256) 评论(0) 推荐(0)
摘要:不好的做法: whichfile="D:\inetpub\wwwroot\whatever\junk.txt" set fs = CreateObject("Scripting.FileSystemObject") Set thisfile = fs.OpenTextFile(whichfile, 1, False) tempSTR=thisfile.readall response.wr... 阅读全文
posted @ 2007-12-21 12:03 missthe 阅读(190) 评论(0) 推荐(0)
摘要:父类显示.子类默认不显示, 点击父类旁边"+"图标,小类则显示. 点此下载包含文件 阅读全文
posted @ 2007-12-12 15:17 missthe 阅读(306) 评论(0) 推荐(0)
摘要:刚开始不知道为什么,网页也有设置gb2312编码啊.可为什么还是出错,郁闷~~! 后来才知道,在顶部加一句" " 就正常了.. 阅读全文
posted @ 2007-12-10 13:50 missthe 阅读(233) 评论(0) 推荐(0)
摘要:Function RegChinese(str) Dim regEx, retVal Set regEx = New RegExp regEx.Pattern = "^[^\u0000-\u00FF]*$" regEx.IgnoreCase = False retVal = regEx.Test(str) If retVal The... 阅读全文
posted @ 2007-12-06 10:21 missthe 阅读(275) 评论(0) 推荐(0)