惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
美团技术团队
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
月光博客
月光博客
V
Visual Studio Blog
T
Tailwind CSS Blog
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
Jina AI
Jina AI
J
Java Code Geeks
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
Recorded Future
Recorded Future
C
Check Point Blog
腾讯CDC
N
Netflix TechBlog - Medium
aimingoo的专栏
aimingoo的专栏
罗磊的独立博客
Hacker News: Ask HN
Hacker News: Ask HN
SecWiki News
SecWiki News
博客园 - Franky
Hacker News - Newest:
Hacker News - Newest: "LLM"
N
News | PayPal Newsroom
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security @ Cisco Blogs
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
F
Full Disclosure
The Cloudflare Blog
Y
Y Combinator Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
S
Schneier on Security
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
L
LINUX DO - 热门话题
AI
AI
N
News and Events Feed by Topic
T
Tor Project blog
P
Palo Alto Networks Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog

博客园 - 明月伴我行

摆脱烦人的Google.cn 淘宝助理CSV文件导入后无法显示宝贝图片的解决办法 Orcas 将不包括ADO.NET Entity Framework 用WINDOWS FORM写阻抗机3540、3541测量程序 Firefox中文字型的设置 Sharepoint server 2007 中文版出来了,msdn订阅用户可以下载了 Virtual Server+Vmware+WideScreen Solve problem searching file in Emule and error occurs:Please Use Emule 0.47c And Enable Protocol Obfuscation To Get Results 要找1-2个美工,有合适的人联系看看 含有运算符的STRING得到计算结果,类似JS的EVAL 發布asp.net 2.0項目中出現的錯誤,請各位指點。 Today is my birthday 表单验证类 人民幣小寫金額轉換為大寫函數 INI类 安裝Visual Studio 2005 July CTP 中的Visio辦法 郁悶,寫了幾個星期的asp程序 自定格式字串formatstring: WebGrid.net 3.5 Column圖像鏈接的用法
產生隨機數
明月伴我行 · 2005-08-15 · via 博客园 - 明月伴我行

產生隨機數

<%
Function RndCode()
CodeSet 
= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
AmountSet = 62 ' 文字数量
Randomize

' 随机产生字符
Dim vCode(10), vCodes
For i = 0 To 9
vCode(i) 
= Int(Rnd * AmountSet)
vCodes 
= vCodes & Mid(CodeSet, vCode(i), 1)
Next
RndCode
=vCodes
End Function


%
>
<%=RndCode()%>

posted on 2005-08-15 20:51  明月伴我行  阅读(277)  评论(0)    收藏  举报