ASPÖйØÓÚÈÕÆÚµÄ¼ÆËã - Web ¿ª·¢ / ASP
ÇóÖú£¬ÔÀ´µÄ¹¦ÄÜΪ ÊäÈëÒ»¸öÈÕÆÚ Regdate ºÍ ÄêÏÞ years ¼ÆËãºóµÃµ½ Expdate¡£´úÂëÈçÏ£º
JScript code:
if regdate<>"" then
expdate=cint(left(regdate,4))+years
expdate=cstr(expdate)&mid(regdate,5,6)
end if
ÏÖÔÚÏëÐÞ¸ÄһϠ½«ÊäÈë¸ÄΪ ÔÂÊý Months£¬±ÈÈç ÊäÈëRegdate Ϊ 2010-1-1£¬Months Ϊ 12 µÃµ½ ExpdateΪ 2011-1-1¡£ÇóÖú¸÷룬Õâ¸ö°´ÔÂÊý¼ÆËãµÄ²¿·Ö¸ÄÔõô¸ÄÐ´ÄØ¡£Ð»Ð»ÁË¡£
expdate=dateadd(m,12,regdate)
<%=DateAdd("m",""&request("Months")&"",""&request("Expdate")&"") %>
<%=DateAdd("m",""&request("Months")&"",""&request("Regdate")&"") %>
´ò´íÁË
VBScript code:
Expdate = DateAdd("yyyy", years, CDate(Regdate))
VBScript code:
°´ÔÂ
Expdate = DateAdd("m", Months , CDate(Regdate))
лл¥Éϸ÷λÁË£¬·Ö²»¶à£¬ÐÄÒâһϰ¡
Ïà¹ØÎÊ´ð£º
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØÐ´url²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖØµã£¬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......
¾ÍÊÇÒ»¸ö°´Å¥£¬µã»÷Ö®ºó´ò¿ª¶Ô»°¿ò£¬È»ºóѡȡͼƬ¡£¾ÍÕâÑùÉÏ´«¡£¡£
ÔõôʵÏÖ¡£ÔÚÍøÉÏËѵ½ÄÇô¶àµÄ´úÂ룬ȫÊǺܶàµÄÄÇÖÖ£¬²»ÖªµÀ£¬¿´²»ÏÂÈ¥¡£
ËùÒÔÔÚÕâÀïÏëÇë´ó¸ç´ó½ã°ï°ïæ¡£
ʹÓÃ×Ô´øµÄfileupload¿Ø¼þ¿ÉÒÔʵÏÖ ......
ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ?
ÕÒ¸öÈ«²Å·Òë¡£
ÊÖ¶¯È¥Ð´
¸Ð¾õд¹ýaspµÄ£¬À´Ð´asp.net£¬ÉÏÊÖÓ¦¸Ã¿ìµã¡£
¸üÄÜÀí½âasp.netµÄһЩÄÚ²¿¼¼Êõ
asp.net¶¼±»·â×°ÁË
ÎÒÊÇ×ö.NetµÄ£¬¶ÔASPһֱû½Ó´¥µ½£¬ºÜİÉú¡£
¹« ......
¹ØÓÚÍøÕ¾°²È«µÄÎÊÌ⣡
ÎÒÁ˽⵽µÄÍøÕ¾°²È«ÎÊÌâ°üÀ¨£º
sql×¢Èë©¶´ºÍ±©¿â©¶´»¹ÓÐÉÏ´«Â©¶´
³ýÁËÕâЩ»¹ÓÐÆäËûµÄ©¶´Ã´£¿
×¢Èë©¶´¿ÉÒÔͨ¹ý¹ýÂËÀ´·ÀÖ¹
±©¿â©¶´Ôõô·ÀÖ¹
»¹ÓÐÈËÉÏ´«µÄľÂíÊÇ.gif
ÕâÖÖ©¶´Ôõôȥ± ......