posted @ 2005-03-29 22:12
文章分类 - asp.net
摘要:写的那个简繁转换程序,在将繁体字导入数据库时发生了超时错误。 用vbs更新实在太耗费时间了。.net有内存数据库一说,极大提高性能,我想这也许能解决问题。于是试验了下,终于成功了。 1.数据库内需要更新的表务必有主键 2.如果使用SqlCommandBuilder生成updatecommand,那么,务必在此之前将数据填进dataset. example:Dim adpt As New Sql...
阅读全文
摘要:字符串过滤时间极少,主要的时间都在xmlget上 60then exitfunction endif wend replaceb=str endfunction '过滤主过程 functioncut(info) info=replaceb(info,str2bytes("href=s"),str2bytes("href=xml...
阅读全文
posted @ 2005-03-28 22:13
摘要:效率很高 functionreplaceb(str,find,replacewith) positiona=1 i=0 whileinstrb(positiona,str,find) positiona=instrb(positiona,str,find) strleft=leftb(str,positiona-1) ...
阅读全文
posted @ 2005-03-28 20:51
摘要:操作二进制流,必然面对字串化为16进制码的问题 此函数作用如此 functionstr2bytes(str) fori=1tolenb(str) temp=temp&midb(str,i,1) i=i+1 next str2bytes=temp endfunction 将16进制内码转为字符串函数 ...
阅读全文
posted @ 2005-03-25 23:15
摘要:vbs版的urldecode,改自Cooly(☆给我一个开心的理由!☆)写的vb.net版的urldecode 'Cooly(☆给我一个开心的理由!☆) PublicFunctionURLEncode(strURL) DimI DimtempStr ForI=1ToLen(strURL) IfAsc(Mid(strURL,I,1))=65And...
阅读全文
posted @ 2005-03-24 18:11
浙公网安备 33010602011771号