aspÅúÁ¿Ð´ÈëÊý¾Ý¿â
Êý¾Ý¿â×Ö¶Î
id a b c d e f g h
Äܲ»ÄܰÑÒÔÏÂÊý¾ÝÅúÁ¿ÈëÊý¾Ý¿â
1 2 3 4 5 6 7 8
7 8 9 4 5 6 1 2
4 5 6 1 2 3 1 2
ÏÈ·Ö¸î»Ø³µ,ΪÿÌõÊý¾Ý
ÔÙ·Ö¸î¿Õ¸ñдÈëÿ¸ö×Ö¶Î
ÕâÑùÔõô¸ã?
¸ø´úÂë/лл...
ASPÖ»Ö§³ÖÑ»·insert²»Ö§³ÖÏómysqlÄÄÖÖÒ»´Î²åÈë¾ÞÕó
Åú´¦Àí·½Ê½´ò¿ªÊý¾Ý¼¯£¬ÓÃrs.UpdateBatchÒ»´ÎµÝ½»µ½Êý¾Ý¿â.
VBScript code:
<%
Set conn = CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\AA.mdb;"
Set rs = CreateObject("ADODB.RecordSet")
rs.CursorLocation = 3
rs.Open "SELECT * from xxx WHERE 1=0",conn,1, 4
a = Split(s, VBCrLf)
For i = 0 To UBound(a)
If Trim(a(i))<>"" Then
rs.AddNew
b = Split(a(i), " ")
For j=0 To UBound(b)
rs(j) = b(j)
Next
End If
Next
rs.UpdateBatch
rs.Close
conn.Close
Set rs = Nothing
Set conn = Nothing
%>
ÈçÐèÒªÔĶÁ¸Ã»Ø¸´£¬ÇëµÇ¼»ò×¢²áCSDN!
Ïà¹ØÎÊ´ð£º
ÎÒµÄ網頁´ú碼為ASP語ÑÔ,驗證·½Ê½為ϵ統×Ô帶µÄWINDOW驗證ģʽ.
現ÔÚÎÒÈç¹ûÒªÔÚASP´ú碼ÖÐ獲È¡當ǰµÄµÇÈëÈË ......
ÓÐÄÄλ¸ßÊÖÓùýASP FCKÔÚÏß±à¼Æ÷ѽ£¬ËüÄǸöͼƬÉÏ´«¹¦ÄÜÔõôÅäÖÃѽ
ÄܸøÎÒ·¢¸öÄÜÓÃFCKÔÚÏß±à¼Âð£¿Ò»¶¨ÄÜÉÏ´«Í¼Æ¬¹¦ÄܵÄѽ£¬¼±Ñ½
Ö±½Óµ½¹Ù·½ÍøÕ¾È¥Ï¸ö¾Í¿ÉÒÔÁË£¬¹ØÓÚÉèÖÃô£¬Ö±½ÓGOOGLEÒ»ÏÂÄãµÄ°æ±¾ºÅ¾Í¿ÉÒÔÕÒµ ......
<%
Sql="select top 8 * from NewsData where d_classid in (select classid from NewsClass where ParentID=16)"
Rs.Open Sql, conn, 1,1
Do Until Rs.Eof
......
Ò»¶Îʱ¼äºó ¾Í²»ÄÜÓõÄÄÇÖÖ
¿ÉÒÔÓÃ×é¼þдÂð?
×é¼þ ÊDz»ÊDZØÐëÏÈÔÚ·þÎñÆ÷°²×° ²ÅÄÜʹÓÃ?
ÄÇÓÃÐéÄâÖ÷»úµÄ ²»¾ÍûϷÁË....
ewebeditor¾ÍÊÇҪע²á²ÅÄÜÓõÄ
Ã²ËÆÊÇûɶÓõ ......
ÔÚÍøÉÏ¿´µ½Ò»Ð©¸úÂÒÂë²î²»¶àµÄASP´úÂ룬½á¹û·Åµ½IISÀïÃæÕÕÑù¿ÉÒÔÔËÐС£ÕâÊÇΪʲô°¡£¿
IISÔõô»áÈÏʶ ÕâЩÂÒÂëÄØ£¿
ÔÚÔËÐÐʱ×é¼þ¿ÉÒÔ½âÃܵÄ
ÀïÃæÓ¦¸ÃдÁË
<SCRIPT LANGUAGE="VBScript.Encode ......