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

ASPÍêÃÀÓÅ»¯£¨²»¶Ï¸üУ©

 ¾­¹ý±¾È˽«ASPÔËÐÐËÙ¶ÈÄÚ´æÕ¼ÓôóС·Å´óµ½200MµÄ²âÊÔ
    ¹ØÓÚ¶¨Òå±äÁ¿£º
1¡¢¶¨Òå±äÁ¿£¬¾¡Á¿²»Òª¶¨ÒåÈ«¾Ö±äÁ¿£¬Ë½ÓбäÁ¿ÔÚÔËÐÐËÙ¶ÈÒÔ¼°¿Õ¼äÕ¼ÓÃÉÏÃæ±È¹«¹²±äÁ¿Ëٶȿ죬ÒÔ¼°¸³ÖµÉÏÃæËÙ¶ÈÎÊÌ⣨ÏÂÃæ½éÉÜ£©
2¡¢±äÁ¿¸³Öµ£º
    ¸ø±äÁ¿¸³Öµ¾¡Á¿Ò»´Î¸³Í꣬±ÈÈ磺
Dim str
str="1"
str=str&"2"
str=str&"3"
str=str&"4"
str=str*"5"
Ó¦¸ÃÐÞ¸ÄΪ£º
Dim str
str="12345"
½âÊÍ£ºÔÚÔËÐÐËÙ¶ÈÉÏ£¬ºÜÃ÷°×µÄ¿´³öÀ´µÚ¶þ¸ö±ÈµÚÒ»¸ö¿ì£¬µ«ÊÇÔÚÄÚ´æÕ¼ÓÃÉÏÄØ£¿¾­¹ý±¾ÈËÔÚ½«±äÁ¿·Å´óµ½200MÖ®ºó·¢ÏÖ£¬±äÁ¿µÚ¶þ´ÎÀÛ¼ÓÖµ£¬Õ¼ÓÃÄÚ´æÒÔ¼°ÔËÐÐËÙ¶ÈÊǵÚÒ»´ÎµÄÈý±¶ÒÔÉÏ£¬Ò²¾ÍÊÇ˵£¬Äã°ÑÒ»¸ö×Ö·û´®²ð·ÖµÄÔ½¶à£¬ÔËÐÐËÙ¶ÈÒÔ¼°ÄÚ´æÕ¼Óý«´ó´óÔö¼Ó¡£
    ±äÁ¿ÐèÒªÖظ´¸³ÖµÎÊÌâ±ÈÈ磺
Dim str
str="123"
str="456"
Ó¦¸ÃÐÞ¸ÄΪ£º
Dim str
str="123"
'ÏÂÃæÈÎÑ¡ÆäÒ»
str="" »òÕß str=Empty »òÕß str=Null »òÕß str=vbNullString »òÕß Set str=Nothing
'ÉÏÃæÈÎÑ¡ÆäÒ»
str="456"
½âÊÍ£ºÕâ¸öÒ»°ãÈ˶¼»á°´ÕÕµÚÒ»¸ö·½·¨Ð´£¬µÚÒ»¼òµ¥£»µÚ¶þ´úÂëÐÐÊýÉÙ¿´ÆðÀ´ÇåÎöµã¡£ÔÚ±¾ÈË200M±äÁ¿´óС¸³ÖµÖ®ºó·¢ÏÖ£¬±äÁ¿µÚÒ»´Î¸³Öµºó£¬Èç¹û²»ÊÖ¶¯ÊÍ·ÅÄڴ棬ÄÚ´æ²»»á×Ô¶¯Çå¿Õ£¬±äÁ¿ÄÚ´æÕ¼Óÿռä»áÀÛ¼ÓÉÏÈ¥£¬ËùÒÔͬ²½½âÊÍÉÏÃæΪʲôҪ°Ñ±äÁ¿Ò»´Î¸³ÍêµÄËٶȽ«¿ìºÜ¶à¡£Í¬Ñù×¢Ò⣬Õâ¸öÎÊÌâÔÚ¹«¹²±äÁ¿ÒÔ¼°±äÁ¿Õ¼ÓÃÄÚ´æ´óµÄʱºòÒª¾¡ÔçµÄÊͷŽ«»áÔö¼ÓËٶȣ¬ÒÔ¼°ÄÚ´æÏûºÄ¡£
ÕâÀï˵Ã÷Ò»ÏÂ""¡¢Empty¡¢Null¡¢vbNullString¡¢Nothing²î±ð£¬ËûÃÇÔÚÄÚ´æÏûºÄÉÏÃæû·¨·Å´ó£¬ËùÒÔÔÚÎÒ²âÊÔʱ¼ä£¬ËûÃÇÄÚ´æÏûºÄû·¨²âµ½£¬µ«ÊǶ¼²î²»¶à£¬ÓÃÄĸö¶¼ÐУ¬ËûÃÇÖ®¼äµ½µ×ÓÐʲô²î±ð£¬ÔÚÎÒÁíÍâһƪ²©¿Í¹ØÓÚNull¡¢Empty¡¢vbNullString¡¢Nothing²î±ðÀïÃæ̸µ½¡£
3¡¢¹ØÓÚʹÓú¯ÊýÒÔ¼°×Ó¹ý³Ì
 ÒÔÏ´úÂë
'ʾÀý1£º·µ»Ø×Ö·û£¨º¯ÊýÄÚ¶¨Òå±äÁ¿£ºË½ÓбäÁ¿£©
Function DemoFunction()
Dim str
str = "123"
DemoFunction=str
End Function
'ʾÀý2£º·µ»Ø×Ö·û£¨º¯ÊýÍⶨÒå±äÁ¿£º¹«¹²±äÁ¿£©
Dim str
Function DemoFunction()
DemoFunction = "123"
str = Empty
str = DemoFunction
End Function
Ó¦¸ÃÐÞ¸ÄΪ£º
Function DemoFunction()
DemoFunction = "123"
End Function
'½«Ê¾Àý2¸ÄΪ£º
Function DemoFunction()
str = Empty
str = "123"
DemoFunction = str
End Function

½âÊÍ£


Ïà¹ØÎĵµ£º

ʹÓÃASP·¢ËÍ·ÉÐŵÄÃâ·Ñ¶ÌÐÅ

ҪʵÏÖÔÚaspÍøÕ¾ÉÏ·¢ËÍ·ÉÐÅ£¬ÒªÇóÊÇÖйúÒƶ¯µÄÊÖ»úÓû§£¬²¢ÇÒ¿ªÍ¨Òƶ¯·ÉÐŹ¦ÄÜ¡£
     ʹÓÃÒÔÏÂasp´úÂ룬Ð޸IJÎÊýΪÄãµÄÊÖ»úºÅ¼°·ÉÐÅÃÜÂ룬¾Í¿ÉÒÔʵÏÖÔÚÍøÕ¾·¢Ãâ·Ñ¶ÌÐŹ¦ÄÜ¡£
    
fsend.aspÎļþÔ´´úÂëÈçÏ£º
<%
    Dim fno,fp,tofno,rurl
   ......

ASP:CrazyÍÜ!Ä£°æ²Ù×÷Àà(×î¼òµ¥µÄÄ£°åÀà¡¢½öÌṩ½»Á÷)

ÎļþÃû£ºAwa_temp.Class.asp
 <%
'CrazyÍÜ!Ä£°å²Ù×÷Àà
'×÷ÕßCrazy~ÍÜ! QQ:379969387 »¶Ó­½»Á÷
'°æ±¾V1.0;
Class AwaTemp
Public aa
Private FSO,StrTemp,FileData,GetDatas,StrHtmlName,htmlwrite,StrLabel,StrLValues
'===========================================
'¹¹Ô캯Êý_³õʼ»¯FSO×é¼þ
'========= ......

asp gridView Ä£°åÁÐ ¿Ø¼þ È¥ÐÐË÷Òý

protected void Button1_Click(object sender, EventArgs e)
{
    GridViewRow gvr = (sender as Button).NamingContainer as GridViewRow; //»ñµÃÈÝÆ÷
    if(gvr != null)
    {
        int index = gvr.RowIndex;//index¾ ......

ASPËÑË÷·ÖÒ³ºó²»ÄÜÕýÈ·ÏÔʾ

 ¡¡¡¡ÓÃASPʵÏÖËÑË÷²¢·ÖÒ³ÊÇÎÒ¼û´ó¶àÊý³ÌÐòÔ±ºÍ´ó¶àÊýÍøÕ¾³öÏÖÁ˲»ÄÜÕý³£·ÖÒ³µÄÎÊÌ⣬ËÑË÷³öÀ´µÄ½á¹ûµã»÷ÏÂÒ»Ò³Êý¾ÝÓÖÖض¨ÏòΪ³õʼµÄ½á¹û¡£ÊÇʲôԭÒòµ¹ÖÂÕâ¸öÎÊÌâÄØ£¿
¡¡¡¡Õâ¸öÎÊÌâÒ²ÊÇÔÚÎÒÔÚУÕýÔÚѧϰASPµÄʱºòÁ·Ï°ÊµÀýÖÐÓöµ½µÄÎÊÌ⣬³öÏÖÕâ¸öÎÊÌâºó£¬·´¸´µÄµ÷ÊÔ·´¸´µÄ¼ì²é´úÂ룬¿´À´¿´È¥´úÂëûÓв»±¨´íÒ²ÎÞÎó¡£× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ