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

asp ÈÕÆÚ²éѯ - Web ¿ª·¢ / ASP

aspÈçºÎ²éÕÒÏÔʾһÖܵÄÄÚÈÝÁÐ±í£¬È磺½ñÌìÊÇÐÇÆÚ¶þ,ÔõôÑù´ÓÊý¾Ý¿âÀïÃæÕÒµ½£¬´Óµ½½ñÌìΪһÖܵÄÄÚÈÝ£¬Êý¾Ý¿âµÄ×Ö¶ÎdateΪÈÕÆÚ¸ñʽ,ÈçºÎ²éÕÒÄØ£¿»¹ÓÐÏÔʾһ¸öÔ£¬Ò»¸ö¼¾¶È,Ò»Äê!
·µ»ØÒ»ÖÜÄÚµÄÊý¾Ý
select * from table where datediff(w,date,getdate())=0
·µ»ØÒ»ÔÂÄÚµÄÊý¾Ý
select * from table where datediff(m,date,getdate())=0
·µ»ØÒ»¼¾ÄÚµÄÊý¾Ý
select * from table where datediff(q,date,getdate())=0
·µ»ØÒ»ÄêÄÚµÄÊý¾Ý
select * from table where datediff(y,date,getdate())=0

°ï¶¥£¬ÉÏÃæ¸ö¿ÉÒÔÁË

VBScript code:

'°ÑÈÕÆÚת»»·ÅÔÚaspÀïÍê³É£¬¿ÉÒÔÊ¡µãÊý¾Ý¿â×ÊÔ´¡£Ò»ÏÂÊÇһЩÈÕÆÚת»»µÄ´úÂë¡£
'Ò»ÖÜ
date_from = DateAdd("d", 2-Weekday(Date()), Date())
date_to = DateAdd("d", 6, date_from)


'Ò»¸öÔÂ
date_from = CDate(Year(Date()) & "-" & Month(Date()) & "-1")
date_to = DateAdd("d", -1, DateAdd("m", 1, date_from))

'Ò»Äê
date_from = CDate(Year(Date()) & "-1-1")
date_to = DateAdd("d", -1, DateAdd("yyyy", 1, date_from))

'Ò»¼¾¶È
date_from = CDate(Year(Date()) & "-" & (Int(Month(Date())/3+0.9)-1)*3+1 & "-1")
date_to = DateAdd("d", -1, DateAdd("m", 3, date_from))


SQL code



Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHigh


Ïà¹ØÎÊ´ð£º

asp µ÷ÓÃjavaдµÄwebservice - Web ¿ª·¢ / ASP

ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
  <part name="bstrPnrNO" type="s:string" /> 
  <part name ......

aspÍøÕ¾µÄα¾²Ì¬ÎÊÌâ. - Web ¿ª·¢ / ASP

ÍòÍøµÄ·þÎñÆ÷Ö§³Öα¾²Ì¬µÄ,Ö±½ÓÓÃrewriteÔÚweb.configÎļþд¹æÔò,Ò²²»Óð²×°×é¼þ¾Í¿ÉÒÔʵÏÖα¾²Ì¬,µ«ÊÇÔÚʱ´ú»¥Áª·þÎñÆ÷¾ÍÓò»ÁËÁË,×ÉѯËüµÄ¿Í·þ,Ëû˵ËûÃÇ·þÎñÆ÷(»ù±¾ÐÍC)²»Ö§³Öα¾²Ì¬µÄ.ÇëÎÊһϸ÷λÎÒ¸ÃÓÃʲô·½·¨ ......

asp.net ÖÐÕÛµþЧ¹ûÈçºÎʵÏÖ - .NET¼¼Êõ / ASP.NET

ÎÒÏëʵÏÖÒ»¸öЧ¹ûÊÇ£ºÄÜ°ÑÒ³Ãæ·Ö³É¼¸¸ö´ó¿é£¬µãÏ´ó¿éÉϵÄ+±ãÕ¹¿ª£¬µãÏÂ-±ãÕÛµþ¡£
Õâ¸öÓÐʲô¿Ø¼þ¿ÉÒÔÓò»£¬Çë¸ßÊÖ²»Áߴͽ̣¡

ÓÃjs´úÂëÀ´ ¿ØÖÆ divµÄ¶¯×÷´Ó¶øÄÜʵÏÖ

js¿ØÖÆdivÏÔʾ/Òþ²ØÁË

VS2008×Ô´ø·â×°Á ......

ASP ¡£NETÈçºÎÑ¡Ôñ - Web ¿ª·¢ / ASP

´ó¼ÒºÃ!ÎÒÊÇÒ»¸öѧÉú,ÏÖÔÚÊÇѧASPµÄ²»ÖªµÀÔõô»ØÊÂ,ÎÒ×Ô¼ºÊÇÓÃCMS×ö¹ýÍøÕ¾ ´úÂëÒ²ÄÜ¿´¶®Ò»µã ÏÖÔÚÏëÂò±¾Êé,Ïë·¨Óкܶà,¾ÍÊÇÏëÂòASPµÄ ÓÖ¿´µ½´ó¼Ò˵ASPÒÔºóûÓÐNETÇ°¾°ºÃ,ÎÒÓÖÏëÔÙÈ¥Âò±¾ASP.NETµÄ ÎÒÖªµÀÓÐÕâÑùµÄÏë·¨ ......

asp.net ½«×Ö·û´®Éú³ÉͼƬ - .NET¼¼Êõ / ASP.NET

ÎÒÏ뽫×Ö·û´®Éú³ÉÒ»ÕÅͼƬ£¬ÈçºÎд£¿
×Ö·û´®Éú³ÉͼƬ?

ÒýÓÃ
×Ö·û´®Éú³ÉͼƬ?
˵¼òµ¥µã¾ÍÊÇÉú³ÉÑéÖ¤ÂëµÄ·½·¨¡£


Private Sub Paint(ByVal strCode As String)
  Dim strImgPath As String ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ