功能测试的面试题:asp方面的请教

来源:百度文库 编辑:高考问答 时间:2024/04/29 03:06:26
rs是我建立的recordset对象,rs(i)与rs.fields(i).value都可以表示字段的值,rs(i).name与rs.fields(i).name都可以表示字段的名字,它们有什么区别吗?请指教,谢谢

这就是模糊与完全的区别,

没有区别...

就跟 中国和中华人民共和国是一样的..
一个简称,一个完整的表达..^_^

fields继承了RS他的属性撒

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="center_tdbgall">
<!--DWLayoutTable-->
<tr>
<td width="174" rowspan="2" valign="top" bgcolor="#000000" class="left_tdbgall">
<!--用户登录代码开始-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#fffff0">
<tr>
<td height="28" background="Skin/adv43/ad_yhdlbg.gif"> <img src="Skin/adv43/ad_yhdl.gif" width="174" height="28"></td>
</tr>
<tr>
<td height="150" align="center" valign="middle" class="top_UserLogin">{$ShowUserLogin}</td>
</tr>
</table> <!--用户登录代码结束-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="word-break:break-all;Width:fixed">
<tr>
<td Class="main_title_575"><img src="Skin/adv43/ad_zxrmtj.gif" width="174" height="28"></td>
</tr>
<tr>
<td valign="top" > <script language='JavaScript' type='text/JavaScript' src='article_js.asp?ClassID=0&IncludeChild=true&SpecialID=&ArticleNum=8&ShowType=1&ShowCols=1&ShowProperty=true&ShowClassName=false&ShowIncludePic=false&ShowTitle=true&ShowUpdateTime=false&ShowHits=false&ShowAuthor=false&ShowHot=false&ShowMore=false&TitleMaxLen=20&ContentMaxLen=200&Hot=true&Elite=false&DateNum=&OrderField=UpdateTime&OrderType=desc'></script></td>
</tr>
</table></td>
<td width="6" height="379" bgcolor="#999999"> </td>
<td width="416" valign="top" background="skin/table-bg.gif">
<!--本站最新文章代码开始-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" Class="main_title_575"><img src="/Skin/adv43/lmhome.gif" width="29" height="28"><img src="Skin/adv43/ad_zxxxdt.gif" width="173" height="28" border="0"></td>
<td width="55" align="center" Class="main_title_575"><a class="class" href="Article_Class.asp?ClassID=1"><img src="Skin/adv43/ad_more.gif" width="35" height="7" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td height="99" bgcolor="#fffff0">
<!--webbot bot="HTMLMarkup" startspan -->
<div align="left">
<iframe marginWidth="0" marginHeight="0" frameBorder="0" width="395" scrolling="no" height="86" src="ad/pd.htm" name="I9"></iframe>
<!--webbot
bot="HTMLMarkup" endspan -->
</div></td>
</tr>
<tr>
<td><table width="403" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="398" valign="top">
<script language='JavaScript' type='text/JavaScript' src='article_js.asp?ClassID=1&IncludeChild=true&SpecialID=&ArticleNum=10&ShowType=1&ShowCols=1&ShowProperty=true&ShowClassName=true&ShowIncludePic=false&ShowTitle=true&ShowUpdateTime=true&ShowHits=false&ShowAuthor=false&ShowHot=false&ShowMore=false&TitleMaxLen=28&ContentMaxLen=200&Hot=false&Elite=false&DateNum=&OrderField=UpdateTime&OrderType=desc'></script>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table> </td>
<td width="161" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="word-break:break-all;Width:fixed">
<tr>
<td background="Skin/adv43/ad_rmxxtpdhbg.gif"><img src="Skin/adv43/ad_rmxxtp.gif" width="161" height="28"></td>
</tr>
<tr>
<td height="426" align="center" valign="top" background="Skin/adv43/ad_rmxxtpbg.gif" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="7"></td>
</tr>
</table>
{$ShowPicArticle4}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="13" bgcolor="#999999"> </td>
<td colspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>

</tr>
</table></td>
</tr>
</table>

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="center_tdbgall">
<!--DWLayoutTable-->
<tr>
<td width="181" height="242" valign="top" bgcolor="#999999" class="left_tdbgall"><table width="97%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" style="word-break:break-all;Width:fixed">
<!--DWLayoutTable-->
<tr>
<td width="174" height="28" valign="top" class="left_title"><img src="Skin/adv43/ad_ztlm.gif" width="174" height="28"></td>
<td width="7" bgcolor="#999999"> </td>
</tr>
<tr>
<td height="87" valign="top" bgcolor="#fffff0">{$ShowSpecial} </td>
<td bgcolor="#999999"> </td>
</tr>
</table>
<!--热门文章、专题栏目、用户排行代码结束--> </td>
<td width="579" rowspan="3" valign="top"> <table width="100%" border="1" cellpadding="1" cellspacing="1" bordercolor="#999999">
<tr>
<td height="71" align="center" ><iframe src="ad/gz.htm" frameBorder="0" width="570" scrolling="no" height="100" name="I3"></iframe></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="28" Class="main_title_999"><img src="Skin/adv43/lmhome.gif" width="28" height="28" border="0"></td>
<td width="220" align="center" Class="main_title_999"><div align="left">
<span class="main_title_575"><img src="Skin/adv43/ad_kcbl.gif" width="173" height="28" border="0"></span></div></td>
<td width="55" align="center" Class="main_title_575"><a class="class" href="Article_Class.asp?ClassID=2"><img src="Skin/adv43/ad_more.gif" width="35" height="7" border="0"></a></td>
</tr>
</table></td>
<td width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="28" Class="main_title_999"><img src="Skin/adv43/lmhome.gif" width="28" height="28" border="0"></td>
<td width="220" align="center" Class="main_title_999"><div align="left"><span class="main_title_575"><img src="Skin/adv43/ad_yyx.gif" width="173" height="28" border="0"></span><BR>
</div></td>
<td width="55" align="center" Class="main_title_575"><a class="class" href="Article_Class.asp?ClassID=3"><img src="Skin/adv43/ad_more.gif" width="35" height="7" border="0"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" backgroud="skin/table-bg.gif " ><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td width="50%" >{$ShowPicArticle01}</td>
<td width="50%" height="70" >{$ShowPicArticle02}</td>
</tr>
<tr>
<td width="50%" valign="top" >
<script language='JavaScript' type='text/JavaScript' src='article_js.asp?ClassID=2&IncludeChild=true&SpecialID=&ArticleNum=8&ShowType=1&ShowCols=1&ShowProperty=true&ShowClassName=true&ShowIncludePic=false&ShowTitle=true&ShowUpdateTime=false&ShowHits=false&ShowAuthor=false&ShowHot=false&ShowMore=false&TitleMaxLen=27&ContentMaxLen=200&Hot=false&Elite=false&DateNum=&OrderField=UpdateTime&OrderType=desc'></script>
</td>
<td width="50%" height="50" valign="top">
<script language='JavaScript' type='text/JavaScript' src='article_js.asp?ClassID=3&IncludeChild=true&SpecialID=&ArticleNum=8&ShowType=1&ShowCols=1&ShowProperty=true&ShowClassName=true&ShowIncludePic=false&ShowTitle=true&ShowUpdateTime=false&ShowHits=false&ShowAuthor=false&ShowHot=false&ShowMore=false&TitleMaxLen=27&ContentMaxLen=200&Hot=false&Elite=false&DateNum=&OrderField=UpdateTime&OrderType=desc'></script>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="main_shadow"></td>
</tr>
</table> </td>
</tr>
</table>
<!-- 广告开始 -->
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999"class="center_tdbgall" >
<tr>
<td>{$ShowAD1}</td>
</tr>
<tr>
<td class="main_shadow"></td>
</tr>
</table>
<!-- 广告结束 -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="center_tdbgall">
<tr>
<td width="174" valign="top" bgcolor="#EDEDED" class="left_tdbgall">
<!--站内搜索、频道统计、最新调查代码开始-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="word-break:break-all;Width:fixed">
<!--DWLayoutTable-->
<tr>
<td width="174" height="28" align="center" valign="top" class="left_title"><img src="Skin/adv43/ad_znss.gif" width="174" height="28"></td>
<td width="7" bgcolor="#999999"> </td>
</tr>
<tr>
<td height="79" align="center" valign="top" class="left_tdbg1"><form name="search" method="post" action="Article_search.asp" target="_blank">
<input name="Keyword" type="text" id="Keyword4" value="关键字" size="14" maxlength="50" onblur="if(this.value=='') this.value='关键字'" onfocus="this.value='';">
<input name="Submit" type="submit" id="Submit3" value="搜 索">
<br>
<input name="Channel" type="radio" value="Article" style="border:0" checked onClick="javascript:document.search.action='Article_search.asp';document.search.Field.value='Title';">
文章
<input name="Channel" type="radio" value="Soft" style="border:0" onClick="javascript:document.search.action='Soft_search.asp';document.search.Field.value='SoftName';">
下载<br>
<input name="Channel" type="radio" value="Photo" style="border:0" onClick="javascript:document.search.action='Photo_search.asp';document.search.Field.value='PhotoName';">
图片
<input name="Channel" type="radio" value="bbs" style="border:0" onClick="javascript:document.search.action='bbs/query.asp?sType=2&pSearch=1&SearchDate=ALL&Stable=bbs1&boardid=0';document.search.Field.value='Title';">
论坛<br>
<input name="Field" type="hidden" id="Field3" value="Title">
</form></td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="28" align="center" valign="top" class="left_title"><img src="Skin/adv43/ad_zhtj.gif" width="174" height="28"></td>
<td bgcolor="#999999" class="left_tdbg2"></td>
</tr>
<tr>
<td height="13" valign="top" class="left_tdbg1">{$ShowSiteCountAll}</td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="28" align="center" valign="top" class="left_title"><img src="Skin/adv43/ad_wzdc.gif" width="174" height="28"></td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="18" valign="top" bgcolor="#000000" class="left_tdbg1">{$ShowVote}</td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="44" valign="top"><a href="http://www.hntv.ha.cn"><img src="img/hntvlogo182.gif" width="174" height="67"></a></td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="43" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="174" height="67">
<param name="movie" value="img/aaa.swf">
<param name="quality" value="high">
<embed src="img/aaa.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="660" height="107"></embed>
</object></td>
<td bgcolor="#999999"> </td>
</tr>
<tr>
<td height="13"><a href="http://www.zap.shangdu.com"><img src="img/sd-logo.gif" width="174" height="67"></a></td>
<td bgcolor="#999999"> </td>
</tr>
</table>
<!--站内搜索、频道统计、最新调查代码结束--> </td>

<td width="*" valign="top">
<!--下载更新、论坛新贴、最新留言代码开始-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="skin/table-bg.gif">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" Class="main_title_575"><div align="left"><img src="/Skin/adv43/lmhome.gif" width="28" height="28"><img src="Skin/adv43/ad_xzgx.gif" width="173" height="28" border="0">   <img src="Skin/adv43/ad_sj.gif" width="173" height="28" border="0"></div></td>
</tr>
</table>
<iframe id='UserLogin' src='saishi_bb.asp' width='570' height='260' frameborder='0' scrolling='no'></iframe> </td>
</tr>
<tr>

</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="skin/table-bg.gif">
<tr>
<td><table width="96%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*" background="Skin/adv43/ad_rmwztpbg.gif"><img src="/Skin/adv43/lmhome.gif" width="28" height="28"><img src="Skin/adv43/ad_tpzxgx.gif" width="207" height="32" border="0"></td>
<td width="55" align="center" background="Skin/adv43/ad_rmwztpbg.gif"><a href='Photo_Index.asp'><img src="Skin/adv43/ad_more.gif" width="38" height="7" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="125" align="center" Class="main_tdbg_575"><div id="demo" style="overflow: hidden;height: 130px;width: 550px;">
<table align="center" cellpadding="0" cellspace="0" border="0">
<tr>
<td id="demo1">{$ShowNewPhoto}</td>
<td id="demo2"></td>
<!--**********图片更新移动版代码开始*********-->
<script>
var speed=10
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
<!--**********图片更新移动版代码结束*********-->
</tr>
</table>
</div></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" Class="main_title_575"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*"><img src="/Skin/adv43/lmhome.gif" width="28" height="28"><img src="Skin/adv43/ad_forum.gif" width="174" height="28"></td>
<td width="55" align="center" Class="main_title_575"><a href='bbs/index.asp'><img src="Skin/adv43/ad_more.gif" width="35" height="7" border="0"></a></td>
</tr>
</table></td>
<td width="50%" Class="main_title_575"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="*"><img src="/Skin/adv43/lmhome.gif" width="28" height="28"><img src="Skin/adv43/ad_gbook.gif" width="174" height="28"></td>
<td width="55" align="center" Class="main_title_575"><a href='guestbook.asp'><img src="Skin/adv43/ad_more.gif" width="35" height="7" border="0"></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100" valign="top" Class="main_tdbg_575"> <table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td height="140" valign="top" background="Skin/adv43/dywbg.gif" Class="main_tdbg_575" >
<script src=bbs/newtopic.asp?boardid=all&lock=0&bname=1&tlen=11&n=8&sdate=&orders=4&info=0&action=1&reply=1&showpic=0>
</script>

</td>
</tr>
</table></td>
<td valign="top" Class="main_tdbg_575"><table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td height="140" valign="top">{$showGuest}</td>
</tr>
</table></td>
</tr>
</table>
<!--下载更新、论坛新贴、最新留言代码结束-->
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="center_tdbgall">
<tr>
<td class="main_shadow"></td>
</tr>
</table>
<!--横向友情链接代码开始-->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="center_tdbgall">
<tr>
<td align='center' bgcolor="#EEEEE0" >{$ShowFriendSite2}</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EEEEE0" class="center_tdbgall">
<tr>
<td align='center' bgcolor="#EEEEE0" ><span class="style1">{$ShowFriendSite}</span></td>
</tr>
</table>