Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

aspѧϰ±Ê¼Ç


VBScript:
¶¨Òå±äÁ¿Ê±ºò²»ÄÜÖ±½Ó¸³Öµ£¬È磺
Dim i=1 ÊÇ´íÎóµÄ£¬Ó¦¸ÃÕâÑù£º
Dim i
i = 1
——————————————
½áÊø³ÌÐò£ºresponse.end
Ìø³öÑ­»·»òÕߺ¯Êý¡¢×Ó³ÌÐòµÈÓÃexit …
——————————————
±äÁ¿Ãû´óСдģºý¡£
——————————————
response.write “” ÖÐÒªÊä³öË«ÒýºÅֻҪʹÓÃÁ½¸öË«ÒýºÅ£º
1
response.write "<a href=""demo.html"">demo</a>"
Êä³ö½á¹û£º
1
<a href="demo.html">demo</a>
——————————————
ÉèÖÃsessionʱ¼ä:
session.timeout = 30 ‘°ëСʱ
——————————————
ÔÚÓÃsqlÓï¾äinsertµÄʱºò,Èç¹ûÓдæÔÚ”Êý×Ö”ÀàÐÍ,Ò»¶¨Òª²åÈëÒ»¸öÊý×Ö,ÄÄÅÂÊÇÁã.²»È»¾Í»á±¨´í”Êý¾ÝÀàÐͲ»Æ¥Åä.
×ÔÔö×Ö¶ÎÒª±Ü¹ý²»ÒªÐ´³öÀ´,ÀàËÆ
1
2
3
insert into table values('', 'xinple') //´íÎó,phpÖпÉÒÔ
insert into table(id,name) values('', 'xinple')//´íÎó,phpÖпÉÒÔ
insert into table(name) values('xinple')//ÕýÈ·
»á±¨´í(ÔÚphpÀïÃæʹÓÔÀ´±Ü×ÔÔöµÄid×ֶοÉÒÔ,aspÀïÃæ²»ÐÐ)
Òª½â¾öÕâ¸öÎÊÌâºÜ¼òµ¥,Ö»Òª°ÑÒª²åÈëÊý¾ÝµÄ×Ö¶ÎÃûд³öÀ´,²»ÒªµÄ²»Ð´¾ÍºÃÁË.(²»ÒªÍµÀÁÊ¡ÂÔ)
——————————————
ÔÚʹÓÃ
if…then
elseif … then
end if
µÄʱºò,elseifÒªÁ¬×Åд,Èç¹û·Ö¿ªelse if,¾Í»á±¨´íȱÉÙend


Ïà¹ØÎĵµ£º

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚÈý½Ú¡´ÎÒµÄÐĵáµ

ÔÚInterDevÖÐʵÏÖÍøÉϹºÎïÍƳµ(1)
  
¡¡±¾ÎĽ«½éÉÜÔÚInterDevÖÐʵÏÖÍøÉÏÉ̵깺Îï³µ¹¦Äܵķ½·¨£¬¾ßÌå²½ÖèÈçÏ£º
¡¡¡¡Ò»¡¢ Êý¾Ý¿â½á¹¹£º
¡¡¡¡²úÆ·Êý¾Ý±í(Products): ´æ·Å²úÆ·ÐÅÏ¢
²úÆ·Ãû  ProductName
²úÆ·±àºÅ ProductID
µ¥¼Û Price
·ÖÀà±àºÅ CategoryID
¡¡¡¡ Cart£º¹ºÎï³µÊý¾Ý±í£¬ÁÙʱ´æ·Å¿Í»§µÄ¶ ......

ASPÖÐÊ®´ó³£ÓóÌÐò´úÂë.£ºµÚʮһ½Ú¡´ÎÒµÄÐĵáµ

ASPÍòÓ÷ÖÒ³³ÌÐò
  
¡¡¡¡ÕâÖ»ÊǸöaspС¼¼ÇÉÀàµÄ¶«Î÷£¬ËüËäÈ»ÊʺÏÔÚÿ¸ö²»Í¬ÎļþÃûÀïµ÷ÓÃÕâ¸öº¯Êý£¬µ«ÊÇÒ²ÊÇÓÐÇ°ÌáµÄ£¬ÏÂÃæÈÃÎÒÃÇÀ´×Ðϸ¿´¿´ÆäÖеÄԭί¡£
¡¡¡¡ÏÂÃæÕâ¶ÎÊÇ»ù±¾µÄ·ÖÒ³´úÂ룺
£¼% sql = "select……………………Ê¡ÂÔÁËsqlÓï¾ä
¡¡Set rs=Server ......

asp ÖÐÊý¾Ýµ¼³öΪ word £¬excl £¬text £¬µÈ¸ñʽÎļþ

ÕâÊÇ´Ó·½·¨Ö±½Ó¸´ÖƵģ¬
 ²ÎÊý fileTypeÊÇÎļþ¸ñʽ
²ÎÊýfiledNameÊÇд³öºóÎļþµÄÎļþÃû¡£
²ÎÊýsuffixÊÇд³öºóÎļþµÄÎļþºó׺Ãû¡£
 Response.Clear(); //Çå¿Õ »º³åÇøµÄËùÓÐÊä³öÊý¾Ý
        Response.Charset = "utf-8";//ÉèÖÃÊä³öÊä³öÁ÷×Ö·ûÀàÐÍ
   &nb ......

[ת]asp:UpdatePanelÖÐFileUpload¿Ø¼þÓ¦ÓÃÎÊÌâ

ÔÚasp:UpdatePanel¿Ø¼þÖÐÖ±½ÓʹÓÃFileUpload£¬·þÎñ¶ËÊÇÎÞ·¨ÕÒµ½ÉÏ´«ÎļþµÄ¡£
Ö»ÒªÔÚ<Trigger>ÖÐÌí¼Óbutton¾Í¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
            <ContentTemplate> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ