ÓÃASPÔõôдÒÔÏ´úÂë
µ±½áÊøÊ±¼ä´óÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδÍê³É
µ±½áÊøÊ±¼äСÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδ´ïµ½ÈÎÎñ
ûÓÐʱ¼äÔòÏÔʾÕýÔÚ½øÐÐÖÐ
asp´úÂëÓ¦¸ÃÔõôд
Èç:¿ªÊ¼Ê±¼ä ½áÊøÊ±¼ä Íê³Éʱ¼ä ״̬
2009-10-10 2009-10-20 2009-10-15 Íê³É
2009-10-10 2009-10-20 2009-10-21 delay
2009-10-10 2009-10-20 ûÓÐʱ¼ä ÕýÔÚ½øÐÐÖÐ
1.Ñ»·ÅжÏßÂ
2.ÓÃÒ»¾äsqlÒ²ÄÜд³öÀ´
SQL code:
select startTime,endTime,finishTime,case when finishTime>endTime then 'delay' when endTime<finishTime then 'Íê³É' when finishTime is null then 'ÕýÔÚ½øÐÐÖÐ' end as status from table
ÎÒ¾õµÃÁÖÕÑдµÃ±È½ÏºÃ±È½Ï·ûºÏÌâÒâ
ţţ »»Ò»ÖÖ½â¾ö·½·¨ Ò²²»´í
1LµÄºÜºÃ°¡
Ïà¹ØÎÊ´ð£º
Active Server Pages ´íÎó 'ASP 0113'
½Å±¾³¬Ê±
/admin/affiche_zx/i ......
conn.asp
<%
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="&server.MapPath("Connt ......
³õѧasp ÖªµÀ¿ÉÒÔ¶¨Òå¶àάÊý×é
Dim a(5,3,2)
µ«ÊÇ¿´µ½ÁíÍâÒ»ÖÖд·¨
Dim thisarray(1 to 10,-4 to 5, 5 to 11)
µ«ÊDZàÒëµÄʱºò³ö´í
´íÎóÃèÊö£ºÈ±ÉÙ ')'
Èç¹û½â¾ö£¿£¿
VBScriptºÍV ......
´ÓAcessÊý¾Ý¿âÀï²éÕÒµ½Ä³Ò»Ìõ¼Ç¼£¬Òª±È½ÏÕâÌõ¼Ç¼ÖеÄijһÁеÄÖµÊÇ·ñ°üº¬Ä³Ò»×ֶΡ£
±ÈÈ磬Êý¾Ý¶ÔËùÓеÄÓû§²Ù×÷½øÐÐÁ˼Ǽ¡£
ÔÚÈÕÖ¾²éѯÀÏë°ÑÓû§É¾³ý¼Ç¼ÒÔºìÉ«ÐÅÏ¢ÏÔʾ¡£
ÿÌõɾ³ýµÄÈÕÖ¾¼Ç¼ÀïÓÐÒ»Á ......
ÏÂÃæÊÇÒ»¶ÎÒ³Ãæ´úÂë,Ò»¸öDATALISTÀïÃæÓÐRADIOBUTTON,Õâ¸ö¿Ø¼þÓ¦¸ÃÔõôÓð¡,ÎÒÒªµÄЧ¹ûÊÇ,´ÓDBÀï²é³öÀ´µÄÊý¾ÝÏÔʾÔÚDATALISTÖÐ,×îÇ°ÃæÒ»ÁÐÊÇRADIOBUTTON,¿ÉÒÔÑ¡ÖÐÆäÖÐÒ»ÐÐ.ÏÖÔÚµÄЧ¹ûÊÇ,¿ÉÒÔͬʱѡÖжàÐв¢Çҵò»µ½Ñ¡ ......