asp ´íÎó ¸ßÊÖ°ï°ï棬 ¼± ÈËÔÚµÈ - Web ¿ª·¢ / ASP
<%
Set rs=Server.CreateObject("Adodb.Recordset")
rs.open "select name from news",conn,1,1
do while not rs.eof
dim newstitle=rs("name")
rs.movenext
loop
rs.close
set rs=nothing
%>
<table width="660">
<tr>
<td><img src="reguest1.gif" /><a href=""><%=newstitle%></a></td>
´úÂë¾ÍÕâµãµã¡£
´íÎóÀàÐÍ£º
Microsoft VBScript ±àÒëÆ÷´íÎó (0x800A0401)
Óï¾äδ½áÊø
/js.asp, line 43, column 13
dim newstitle=rs("name")
------------^
¸ßÊÖ°ï°ïæ¡£¡£ ´ó¸ÅÊÇdo while ûÓнáÊø ¡£°ï°ïæ¡£¡£ÈËÔڵȡ£¡£Ð»Ð»¸÷λÁË ·Ö²»¶¼¡£¡£´ú±íÎҵijÏÒâ
dim newstitle
newstitle=rs("name")
ºÇºÇºÇ£¬Ð»Ð»ÕâλÈÊÐÖÁË¡£¡£³öÀ´Ð§¹ûÁË¡£
¡£net¸ãϰ¹ßÁË¡£¡£
лл¡£¡£
²»¶Ô¡£¡£Õ¦Ö»ÓÐ×îºóÒ»ÌõÊý¾Ý°¡¡£
ÎÒҪѻ·Êä³ö¶àÌõÊý¾Ý£¬ÔÙ°ï°ïæ
<table width="660">
<tr>
<%
Set rs=Server.CreateObject("Adodb.Recordset")
rs.open "select name from news",conn,1,1
do while not rs.eof
response.write "<td><img src='reguest1.gif'/><a href=''>"&rs("name")&"</a></td>"
rs.movenext
loop
rs.close
set rs=nothing
%>
</tr></table>
²»ÖªµÀŶ£¡
ÐÖ
Ïà¹ØÎÊ´ð£º
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
¸÷λ´óÏÀ£¬ÎÒѧϰµÄÊÇASP.NET£¬ÏëÖªµÀÏà¹Ø¼¼ÊõÓÐÄÄЩ£¬¾ÍÏñJAVA EEÖÐÓÐstruct sping jsp severlet µÈ£¬ASP.NET»¹ÓÐÄÄЩЩÏà¹Ø¼¼Êõ¡£
http://topic.csdn.net/u/20090914/21/af27de99-f0f3-4cfd-9379-13764f8ec6b1.ht ......
ĿǰÊÇA.aspÃæÒ³ÓÐÒ»¸ö±äÁ¿aa,Ôõô²Å¿ÉÒÔ´«µ½B.aspÒ³Ãæ,²»ÊÇÓÃURL´«,ÏëÓÃ<inupt >¿Ø¼þÔõô´«°¡!Çë´ó¼ÒÖ¸µã!
ÓÃ±íµ¥´«Öµ
´«Öµ£¬GETºÍPOST£¬ÒªÃ´´ø²ÎÊý£¬ÒªÃ´ÓÃform
¶øÇÒ£¬Èç¹ûÄãÁ½¸öÒ³ÃæÃ»ÓÐÈκιØÁª£¬´«Ö ......
ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ?
ÕÒ¸öÈ«²Å·Òë¡£
ÊÖ¶¯È¥Ð´
¸Ð¾õд¹ýaspµÄ£¬À´Ð´asp.net£¬ÉÏÊÖÓ¦¸Ã¿ìµã¡£
¸üÄÜÀí½âasp.netµÄһЩÄÚ²¿¼¼Êõ
asp.net¶¼±»·â×°ÁË
ÎÒÊÇ×ö.NetµÄ£¬¶ÔASPһֱû½Ó´¥µ½£¬ºÜİÉú¡£
¹« ......