欢迎光临
我们一直在努力

ASP常见问题及解答(10)-ASP教程,ASP技巧

建站超值云服务器,限时71元/月

1.关于<table>折行:

<table style="table-layout: fixed" width="200" border="0" cellspacing="0" cellpadding="7" bgcolor="#f7f7f7">

<tr>

<td style="left: 0px; width: 100%; word-wrap: break-word">

dffadfdaqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqsfdffadfdasfdffadfdasfdffadfdasfdffadfdasfdffadfdasfdffadfdasfdffadfdasfdffadfdasfdffadfdasf

</font></td>

</tr>

</table>

重点是"word-wrap: break-word"把它去掉再看看就知道了.

2.批量录入在数据库的应用中比较广泛的,关于批量录入的方法也有好多种。

下面我就结合我实际中的应用,谈一下儿我是怎么实现的。

主要用到的是form的集合的概念,通过循环取的所有的集合内数据。

考虑到大家看着方便,我把它集成到了一个页面。

下面是具体的代码:

batchinput.asp

<%

#####################################

file function:批量录入数据

author:myhon

date:2003-8-19

#####################################

向数据库写入数据

sub writedata()

dim reccnt,i

dim fieldname1,fieldname2,fieldname3

dim conn

dim sqlstr,connstr

connstr="provider=sqloledb.1;initial catalog=mydatabase;data source=myhon;user id=sa;password="

set conn=server.createobject("adodb.connection")

conn.open connstr 建立数据库连接

reccnt=request.form("stu_num").count 取得共有多少条记录

批量录入数据

for i=1 to reccnt

fieldname1=trim(request.form("fieldname1")(i))

fieldname2=trim(request.form("fieldname2")(i))

fieldname3=trim(request.form("fieldname3")(i))

sqlstr="insert into mytable(fieldname1,fieldname2,fieldname3) values("

sqlstr=sqlstr & fieldname1 & ","

sqlstr=sqlstr & fieldname2 & ","

sqlstr=sqlstr & fieldname3 & ")"

response.write sqlstr

conn.execute(sqlstr)

next

end sub

显示成批录入的界面

sub inputdata()

dim reccnt,i

%>

<form name="bathinputdata" action="" method="post">

<%

reccnt=cint(request.form("reccnt"))

for i=1 to reccnt

%>

<input type="text" name="fieldname1">

<input type="text" name="fieldname2">

<input type="text" name="fieldname3">

<%

next

%>

<br/>

<input type="submit" name="action" value="提交">

</form>

<%

end sub

指定要批量录入多少条记录

sub assignhowmuch()

%>

<!——指定要录入多少条记录————–>

<form name="form1" action="" method="post">

您要录入的记录的条数:<input type="text" name="reccnt">

<input type="submit" name="action" value="下一步>>">

</form>

<%

end sub

if request.form("action")="下一步>>" then

call inputdata() 显示成批录入界面

elseif request.form("action")="提交" then call writedata() 向数据库批量写入数据

else

call assignhowmuch() 显示指定录入多少条记录的界面

end if

%>

3.以动感下载系统为例:

打开文件 softdown.asp 在:

if request.querystring("id")="" then

response.write "不能连接或者没有指定下载软件"

response.end

end if

的上面或者是下面加上下列代码

dim strreferer,domain,spldomain,ishttp

ishttp=false

本站下载系统网址列表,不要带上http://

domain="sron.net,61.156.14.223,61.156.14.227"

spldomain=split(domain,",")

strreferer=request.servervariables("http_referer")

for iii = 0 to ubound(spldomain)

if instr(strreferer,trim(spldomain(iii)))>0 then ishttp=true

next

if isnull(strreferer) or ishttp=false then

response.write "下载链接来自其他网站,这是不允许的,<a href=""./"">请进入本站页面后再进行下载。</a>"

closedatabase

response.end

end if

本站下载系统网址列表 就是访问你下载频道网址里的域名,比如你的下载频道可以用多个网址来访问,所以这里用逗号隔开.

4.无法写入cookie的常见问题

1.确定你的response.cookie代码在第一个<html>之前

2.设置cookies的截止日期response.cookie("cookiename").expires = expiresdate;

设置cookie的请求指定路径:

就是说你的cookie写入后,指定路径中的页面才有权得到这个cookie

例如:指定路径response.cookie("cookiename").path = "http://www.domain.com/path"

那么只有path目录中的页面才能得到request.cookie("cookiename")

5.vbscript的错误捕捉:

on error resume next 打开错误捕捉



if err.number<>0 then err是vbs内置的对象,类似于try catch的exception

err.clear 错误被处理了就要及时把错误标记清空

输出自己的出错信息,或用err.description显示系统出错信息

end if

on error goto 0 关闭错误捕捉。

6.servervariables集合用于得到系统的环境变量用以下程序可以讲servervariables集合的所有内容名称都显示出来

<html>

<head></head>

<body>

<% for each item in request.servervariables

response.write("<p><b>"&item&"</b>:")

response.write(request.servervariables(item))

next

%>

</body>

</html>

具体的系统环境变量如下:

auth_type 当用户访问一个被保护的脚本时,用于判断是否是一个有效用户

content_length 客户端所提交的正文的长度

content_type 提交的正文数据类型

gateway_interface 服务器所使用的cgi修订版本

login_user 用户是否以windows nt帐户登陆

path_info 客户端路径信息

query_string 在一个http请求的查询信息

remote_addr 发送请求的远程主机的ip地址,利用此地址可以知道访问这的来源

remote_host 发送请求的远程主机名,如果远端服务器不包含该信息,则返回空字符串

request_method 数据请求的方法

script_map url的基本部分

script_name 执行脚本的虚拟路径

server_name 该服务器的名称dns的别名,ip地址及其制定的url路径

server_port 数据请求所使用的端口号

server_software 服务器端运行的软件名称及版本号

server_protocol 要求信息的协议及修订版本

url 系统的url路径

http_referer 当通过链接到大当前页面时,http_referer header 保存这个用户的来源

8.html文件标记

<html>

<head>

<!–>

<title>

<body>

文字排版标记

<br/>

<nobr>

<p>

<pre> 原始文字样式

<center>

<blockquote> 向内缩排

<h> 标题

<strong>,<b> 粗体

<em>,<i>,<cite> 斜体

<u> 底线

<strike> 删除线

<blink> 文字闪烁

<big> 大型字体

<small> 小型字体

<sup> 文字上标

<sub> 文字下标

<basefont> 默认字体设置

<font> 更改字体设置

菜单标记

<menu> 选项菜单

<dir> 目录菜单

<lh> 菜单格式(一)

<ul> 菜单格式(二)

<dl>,<dt>,<dd> 说明式菜单

<ol>,<li> 标题菜单

直线与表格标记

<hr>

<table>

<tr>

<td>

<th>

<caption> 表格标题

超链接标记

<a> 锚

图形标记

<img> 插入图形

框架标记

<frame> 定义框架内容

<noframe> 不支持框架声明

表单标记

<form>

<input>

<textarea>

<select>

<option>

script

<script>

vbscript标记索引

基本运算

+ 数字加法及字符串连接

– 数字减法

* 数字乘法

/ 数字除法

mod 求余数

\ 求商数

& 字符串连接

^ 次方

= 相等

<> 不相等

>= 大于或等于

> 大于

<= 小于或等于

< 小于

not 非

and 且

or 或

xor 异或

循环及决策

if ….then 若…则…

if …then…else 若…则…非

else if… 非若

select case… 群组选择条件

end select

for … next 计数循环

while…wend 条件循环(一)

do while…loop 条件循环(二)

do…loop while 条件循环(三)

do until…loop 条件循环(四)

do…loop until 条件循环(五)

数学函数

abs 绝对值

sgn 正负号

hex 转换成十六进制

oct 转换成八进制

sqr 平方根

int 取整数

fix 取整数

round 取整数

log 以e为底的对数

sin 正弦函数

cos 余弦函数

tan 正切函数

字符串处理函数

len 字符串长度

mid 取部分字符串

left 从字符串开头取部分字符串

right 从字符串结尾取部分字符串

lcase 转换成小写

ucase 转换成大写

trim 清除字符串开头及结尾的空格符

ltrim 清除字符串开头空格符

rtrim 清除字符串结尾空格符

replace 替换字符串部分字符

instr 判断是否包含于另一个字符串(从起始搜寻)

instrrev 判断是否包含于另一个字符串(从结尾搜寻)

space 任意字符数的空格符

string 任意字符数的任一字符

strreverse 反转字符串

split 以某字符分割字符串

数据类型转换函数

cint 转换成整形

cstr 转换成字符串

clng 转换成常整数

cbool 转换成布尔函数

cdate 转换成日期函数

csng 转换成单精度

cdbl 转换成双精度

日期时间函数

date 现在日期

time 现在时间

now 现在日期时间

dateadd 增加日期

datediff 两日期差

dateserial 日期设定

datevalue 日期设定

year 现在年份

month 现在月份

day 现在天

hour 现在时刻

minute 现在分钟

second 现在秒钟

timer 午夜距现在秒数

timeserial 时间设定

timevalue 时间所属部分

weekday 星期名称

monthname 月份名称

其它函数

array 产生数组

asc 字符ascii码

chr ascii码字符

filter 过滤数组

inputbox 输入窗口

join 合并数组中的元素

msgbox 信息窗口

lbound 数组下界

ubound 数组上界

指令

const 设定常数

dim 定义变量或者数组

erase 清除数组

redim 重新声明数组

randomize 起始随机数

rnd 取得随机数

asp对象

session对象

isempty 测试session变量是否存在

timeout 设定session变量生存周期

abandon 强制清除session变量

application对象

isempty 测试application变量是否存在

lock 锁定application变量

unlock 解除lock指令的锁定

cookies对象

expires 设定cookies变量的生存周期

connection对象

open 打开与数据库的连接

execute 打开recordset对象

close 关闭connection对象

recordset对象

movefirst 将记录指针移至第一条

movelast 将记录指针移至最后一条

movenext 将记录指针移至下一条

moveprevious 将记录指针移至上一条

bof 测试是否为recordset的起始

eof 测试是否为recordset的结束

open 打开recoreset对象

close 关闭recordset对象

fields 读取数据的子对象

fileds.count 字段个数

pagesize 每页记录条数

absolutepage 设定为某页

pagecount 总页数

absoluteposition 直接跳至某条记录

9.没什么好共享的,但太感动了,把做树型菜单的js函数贴出来,

<script language="javascript">

var lastobj

function expandit(obj)

{

if(lastobj != null)

{

if(obj == lastobj)

{

if(obj.style.display == "none")

{

obj.style.display = "";

}

else

{

obj.style.display = "none"

}

}

else

{

lastobj.style.display = "none";

obj.style.display = "";

}

}

else

{

obj.style.display = "";

}

lastobj = obj

}

</script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<%

dim id

id = request("id")

dim strsql,rs

strsql="select * from p_type where slanguage=1 and typelevel=1 order by typename"

set rs=fgetrslist(strsql)

do while not rs.eof

%>

<tr>

<td height="25" class="leftlinks"><img width="30" height="0" align="absmiddle" /><b><%if rs("isleaf")=0 then%><a href="#" onclick="javascript:expandit(kb<%=rs("id")%>);return false"><%else%><a href="<%=request.servervariables("script_name")%>?idtree=<%=rs("idtree")%>" ><%end if%><%=server.htmlencode(right((rs("typename")&""),len(rs("typename")&"")-2))%></a></b></td>

</tr>

<%

if clng(id)=clng(rs("id")) then

%>

<tr id="kb<%=rs("id")%>">

<%

else

%>

<tr id="kb<%=rs("id")%>" style="display:none;">

<%

end if

%>

<td>

<table>

<%

dim rs1

strsql="select * from p_type where parentid="&rs("id")&" and slanguage=1 order by typename"

set rs1=fgetrslist(strsql)

do while not rs1.eof

%>

<tr><td height="20" class="leftlinks">

<img width="40" height="0" align="absmiddle" /><a href="<%=request.servervariables("script_name")%>?idtree=<%=rs1("idtree")%>&id=<%=rs("id")%>" ><%=server.htmlencode(right((rs1("typename")&""),len(rs1("typename")&"")-2))%></a></td></tr>

<%

rs1.movenext

loop

rs1.close

set rs1=nothing

%>

</table>

</td>

</tr>

<%

rs.movenext

loop

rs.close

set rs=nothing

%>

</table>

10.计算网页文本的汉字字数,去掉了表格以外的所有标识。

function getlength(strchinese1)

dim strword, ascword, lentotal

strchinese1 = trim(strchinese1)

if strchinese1 = "" or vartype(strchinese1) = vbnull then

getlength = 0

exit function

end if

lentotal = 0

for getlengthi=1 to len(strchinese1)

strword = mid(strchinese1, getlengthi, 1)

ascword = asc(strword)

if ascword < 0 or ascword > 127 then

lentotal = lentotal + 1

elseif ascword = 63 and strword <> "?" then

lentotal = lentotal + 1

elseif ascword = 44 and strword <> "," then

lentotal = lentotal + 1

elseif ascword = 33 and strword <> "!" then

lentotal = lentotal + 1

else

lentotal = lentotal

end if

next

getlength = lentotal

end function

11.<table width="95%" cellspacing="1" cellpadding="5" align=center bgcolor=999999>

<tr bgcolor=#ffcc00><td colspan="2" height=25><b>服务器有关的变量</b></td></tr>

<tr bgcolor=#efefef><td valign=top>显示客户发出的所有http标题</td><td><%=request.servervariables("all_http")%></td></tr>

<tr bgcolor=#efefef><td valign=top>检取isapidll的metabase路径</td><td><%=request.servervariables("appl_md_path")%></td></tr>

<tr bgcolor=#efefef><td valign=top>显示站点物理路径</td><td><%=request.servervariables("appl_physical_path")%></td></tr>

<tr bgcolor=#efefef><td valign=top>路径信息</td><td><%=request.servervariables("path_info")%></td></tr>

<tr bgcolor=#efefef><td valign=top>显示请求机器ip地址</td><td><%=request.servervariables("remote_addr")%></td></tr>

<tr bgcolor=#efefef><td valign=top>服务器ip地址</td><td><%=request.servervariables("local_addr")%></td></tr>

<tr bgcolor=#efefef><td valign=top>显示执行script的虚拟路径</td><td><%=request.servervariables("script_name")%></td></tr>

<tr bgcolor=#efefef><td valign=top>返回服务器的主机名,dns别名,或ip地址</td><td><%=request.servervariables("server_name")%></td></tr>

<tr bgcolor=#efefef><td valign=top>返回服务器处理请求的端口</td><td><%=request.servervariables("server_port")%></td></tr>

<tr bgcolor=#efefef><td valign=top>协议的名称和版本</td><td><%=request.servervariables("server_protocol")%></td></tr>

<tr bgcolor=#efefef><td valign=top>服务器的名称和版本</td><td><%=request.servervariables("server_software")%></td></tr>

<tr bgcolor=#efefef><td valign=top>服务器操作系统</td><td><%=request.servervariables("os")%></td></tr>

<tr bgcolor=#efefef><td valign=top>脚本超时时间</td><td><%=server.scripttimeout%> 秒</td></tr>

<tr bgcolor=#efefef><td valign=top>服务器cpu数量</td><td><%=request.servervariables("number_of_processors")%> 个</td></tr>

<tr bgcolor=#efefef><td valign=top width=30%>服务器解译引擎</td><td><%=scriptengine & "/"& scriptenginemajorversion &"."&scriptengineminorversion&"."& scriptenginebuildversion %></td></tr>

</table>

12.10进制表示,希望actor2222 (优悠) 能看到

microsoftvbscript运行时错误列表(10进制表示)

error # 5 无效的过程调用或参数

error # 5 无效的过程调用或参数

error # 6 溢出

error # 7 内存不够

error # 9 下标越界

error # 10 该数组为定长的或临时被锁定

error # 11 被零除

error # 13 类型不匹配

error # 14 字符串空间不够

error # 17 不能执行所需的操作

error # 28 堆栈溢出

error # 35 未定义过程或函数

error # 48 加载 dll 时出错

error # 51 内部错误

error # 52 错误的文件名或号码

error # 53 文件未找到

error # 54 错误的文件模式

error # 55 文件已经打开

error # 57 设备 i/o 错误

error # 58 文件已存在

error # 61 磁盘已满

error # 62 输入超出了文件尾

error # 67 文件过多

error # 68 设备不可用

error # 70 没有权限

error # 71 磁盘没有准备好

error # 74 重命名时不能带有其他驱动器符号

error # 75 路径/文件访问错误

error # 76 路径未找到

error # 91 对象变量未设置

error # 92 for 循环未初始化

error # 94 无效使用 null

error # 322 不能创建必要的临时文件

error # 424 缺少对象

error # 429 activex 部件不能创建对象

error # 430 类不支持 automation 操作

error # 432 automation 操作中文件名或类名未找到

error # 438 对象不支持此属性或方法

error # 440 automation 操作错误

error # 445 对象不支持此操作

error # 446 对象不支持已命名参数

error # 447 对象不支持当前区域设置选项

error # 448 未找到已命名参数

error # 449 参数是必选项

error # 450 错误的参数个数或无效的参数属性值

error # 451 对象不是一个集合

error # 453 未找到指定的 dll 函数

error # 455 代码资源锁定错误

error # 457 此键已与该集合的一个元素关联

error # 458 变量使用了一个 vbscript 中不支持的 automation 类型

error # 462 远程服务器不存在或不可用

error # 481 无效图片

error # 500 变量未定义

error # 501 非法赋值

error # 502 对象不能安全用 script 编程

error # 503 对象不能安全初始化

error # 504 对象不能安全创建

error # 505 无效的或无资格的引用

error # 506 类没有被定义

error # 507 出现一个意外错误

error # 1001 内存不够

error # 1002 语法错误

error # 1003 缺少 :

error # 1005 缺少 (

error # 1006 缺少 )

error # 1007 缺少 ]

error # 1010 缺少标识符

error # 1011 缺少 =

error # 1012 缺少 if

error # 1013 缺少 to

error # 1014 缺少 end

error # 1015 缺少 function

error # 1016 缺少 sub

error # 1017 缺少 then

error # 1018 缺少 wend

error # 1019 缺少 loop

error # 1020 缺少 next

error # 1021 缺少 case

error # 1022 缺少 select

error # 1023 缺少表达式

error # 1024 缺少语句

error # 1025 语句未结束

error # 1026 缺少整型常数

error # 1027 缺少 while 或 until

error # 1028 缺少 while 和 until或语句未结束

error # 1029 缺少 with

error # 1030 标识符过长

error # 1031 无效数字

error # 1032 无效字符

error # 1033 未结束的字符串常量

error # 1034 注释未结束

error # 1037 无效使用 me 关键字

error # 1038 loop 语句缺少 do

error # 1039 无效的 exit 语句

error # 1040 循环控制变量 for 无效

error # 1041 名称重定义

error # 1042 必须是行中的第一个语句

error # 1043 不能为 non-byval 参数赋值

error # 1044 调用子程序时不能使用括号

error # 1045 缺少文字常数

error # 1046 缺少 in

error # 1047 缺少 class

error # 1048 必须在一个类的内部定义

error # 1049 在属性声明中缺少 let , set 或 get

error # 1050 缺少 property

error # 1051 在所有属性的规范中,变量的数目必须一致

error # 1052 在一个类中不允许有多个缺省的属性/方法

error # 1053 类的初始化或终止程序没有变量

error # 1054 属性的 set 或 let 必须至少有一个变量

error # 1055 错误的 next

error # 1056 default 只能在 property , function 或 sub 中指定

error # 1057 指定 default 时必须同时指定 public

error # 1058 只能在 property get 中指定 default

error # 4096 microsoft vbscript 编译器错误

error # 4097 microsoft vbscript 运行时错误

error # 5016 缺少正则表达式对象

error # 5017 正则表达式语法错误

error # 5018 错误的数量词

error # 5019 正则表达式中缺少 ]

error # 5020 正则表达式中缺少 )

error # 5021 字符集越界

13.利用asp获得图象的实际尺寸的示例

<!–#include virtual="/learn/test/lib_graphicdetect.asp"–>

<html><head>

<title>dbtable.asp</title>

</head>

<body bgcolor="#ffffff">

<%

graphic="images/learnaspiconmain.gif"

hw = readimg(graphic)

response.write graphic & " dimensions: " & hw(0) & "x" & hw(1)

& "<br/>"

response.write "<img src=""/" & graphic & """"

response.write height=""" & hw(0) & """

response.write width=""" & hw(0) & "">"

%>

</body></html>

the library that is included is:

<%

dim hw

function ascat(s, n)

ascat = asc(mid(s, n, 1))

end function

function hexat(s, n)

hexat = hex(ascat(s, n))

end function

function isjpg(fichero)

if instr(ucase(fichero), ".jpg") <> 0 then

isjpg = true

else

isjpg = false

end if

end function

function ispng(fichero)

if instr(ucase(fichero), ".png") <> 0 then

ispng = true

else

ispng = false

end if

end function

function isgif(fichero)

if instr(ucase(fichero), ".gif") <> 0 then

isgif = true

else

isgif = false

end if

end function

function isbmp(fichero)

if instr(ucase(fichero), ".bmp") <> 0 then

isbmp = true

else

isbmp = false

end if

end function

function iswmf(fichero)

if instr(ucase(fichero), ".wmf") <> 0 then

iswmf = true

else

iswmf = false

end if

end function

function iswebimg(f)

if isgif(f) or isjpg(f) or ispng(f) or isbmp(f) or iswmf(f)

then

iswebimg = true

else

iswebimg = true

end if

end function

function readimg(fichero)

if isgif(fichero) then

readimg = readgif(fichero)

else

if isjpg(fichero) then

readimg = readjpg(fichero)

else

if ispng(fichero) then

readimg = readpng(fichero)

else

if isbmp(fichero) then

readimg = readpng(fichero)

else

if iswmf(fichero) then

readimg = readwmf(fichero)

else

readimg = array(0,0)

end if

end if

end if

end if

end if

end function

function readjpg(fichero)

dim fso, ts, s, hw, nbytes

hw = array("","")

set fso = createobject("scripting.filesystemobject")

set ts = fso.opentextfile(server.mappath("/" & fichero), 1)

s = right(ts.read(167), 4)

hw(0) = hextodec(hexat(s,3) & hexat(s,4))

hw(1) = hextodec(hexat(s,1) & hexat(s,2))

ts.close

readjpg = hw

end function

function readpng(fichero)

dim fso, ts, s, hw, nbytes

hw = array("","")

set fso = createobject("scripting.filesystemobject")

set ts = fso.opentextfile(server.mappath("/" & fichero), 1)

s = right(ts.read(24), 8)

hw(0) = hextodec(hexat(s,3) & hexat(s,4))

hw(1) = hextodec(hexat(s,7) & hexat(s,8))

ts.close

readpng = hw

end function

function readgif(fichero)

dim fso, ts, s, hw, nbytes

hw = array("","")

set fso = createobject("scripting.filesystemobject")

set ts = fso.opentextfile(server.mappath("/" & fichero), 1)

s = right(ts.read(10), 4)

hw(0) = hextodec(hexat(s,2) & hexat(s,1))

hw(1) = hextodec(hexat(s,4) & hexat(s,3))

ts.close

readgif = hw

end function

function readwmf(fichero)

dim fso, ts, s, hw, nbytes

hw = array("","")

set fso = createobject("scripting.filesystemobject")

set ts = fso.opentextfile(server.mappath("/" & fichero), 1)

s = right(ts.read(14), 4)

hw(0) = hextodec(hexat(s,2) & hexat(s,1))

hw(1) = hextodec(hexat(s,4) & hexat(s,3))

ts.close

readwmf = hw

end function

function readbmp(fichero)

dim fso, ts, s, hw, nbytes

hw = array("","")

set fso = createobject("scripting.filesystemobject")

set ts = fso.opentextfile(server.mappath("/" & fichero), 1)

s = right(ts.read(24), 8)

hw(0) = hextodec(hexat(s,4) & hexat(s,3))

hw(1) = hextodec(hexat(s,8) & hexat(s,7))

ts.close

readbmp = hw

end function

function isdigit(c)

if instr("0123456789", c) <> 0 then

isdigit = true

else

isdigit = false

end if

end function

function ishex(c)

if instr("0123456789abcdefabcdef", c) <> 0 then

ishex = true

else

ishex = false

end if

end function

function hextodec(cadhex)

dim n, i, ch, decimal

decimal = 0

n = len(cadhex)

for i=1 to n

ch = mid(cadhex, i, 1)

if ishex(ch) then

decimal = decimal * 16

if isdigit(c) then

decimal = decimal + ch

else

decimal = decimal + asc(ucase(ch)) – asc("a")

end if

else

hextodec = -1

end if

next

hextodec = decimal

end function

%>

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » ASP常见问题及解答(10)-ASP教程,ASP技巧
分享到: 更多 (0)

相关推荐

  • 暂无文章