'--------------------------------------------------------------------------------------1.asp
<!--#include file="function.asp" -->
<script>
function checkAll(){
for (i=0;i<document.forms[1].length;i++){
if (document.forms[1][i].tagName=="INPUT"){
if (document.forms[1][i].type=="checkbox")
{document.forms[1][i].checked="checked"}
}
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<form name="form2" action="delf.asp" method="post" onsubmit="if (confirm('ÊÇ·ñɾ³ýÑ¡ÔñµÄÎļþ»òÎļþ¼Ð')) {return true} else {return false}">
<input type="hidden" name="whatdo" value="DelFiles"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ff9600" colspan="5"height="2"></td>
</tr><%
AttPat ......
<%
Function Zodiac(birth)
If IsDate(birth) Then
birthyear = Year(birthday)
ZodiacList = Array("ºï", "¼¦", "¹·", "Öí", "Êó", "Å£", "»¢", "ÍÃ", "Áú", "Éß", "Âí", "Ñò")
Zodiac = ZodiacList(birthyear Mod 12)
End If
End Function
%> ......
Ö±±¼Ö÷Ìâ.
Ä¿Ç°ÔÚά»¤Ò»Ì×´óÐ͵ÄASPÊÛºóϵͳ(2000¶à¸öasp page),´úÂëÊÇ2001Äê³öÀ´µÄ,ÆÚ¼ä¶àÄêδ×ö¸üÐÂ,´úÂëÖвÎÔÓ¶à¸ö³ÌÐòÔ±µÄ·ç¸ñ,½á¹¹ÉÏÖ»ÊǼòµ¥µÄ½«main function ¼¯ÖÐÆðÀ´,½«¸´ÔÓµÄsql¼¯ÖÐÆðÀ´. Ò³ÃæÉÏÏ൱»ìÂÒ.
ûÓмòµ¥µØȥתÏò.net»·¾³,ÒòΪÕâ¸öϵͳʹÓõñȽÏƵ·±,¼ÓÉÏһЩÈËÊÂÉϵÄÒòËØ.
ËùÒÔÎÒÊÔͼÓÃasp½¨Á¢Ò»¸öÈý²ã¼Ü¹¹µÄ¿ª·¢Ä£Ê½À´Í³ÓùÕû¸öϵͳ,Ç°ºó¼¸¸öÔ¼ä,¸Ä½øÁ˺ܶ෽°¸ºÍ¹æÔò,Èç½ñÐγÉÁËÒ»¸öÉÔÏÔ³ÉÊìµÄÈý²ã¼Ü¹¹µÄ»ù´¡¿ò¼Ü. ¿´µ½»¹ÓкܶàͬÈÊÔÚʹÓÃASP×ö¿ª·¢,ËùÒÔÄóöÀ´Óë´ó¼Ò¹²Ïí.
×îÏȳ¢ÊÔÈý²ã¼Ü¹¹µÄϵͳ,ÊÇÎÒÁíÍâ˽ÈË¿ª·¢µÄÒ»¸öСÏîÄ¿,Ãû½ÐAppdb,ÓÃÓÚ¹ÜÀí³ÌÐò¹¦ÄܺÍÊý¾Ý¿â±íµÄÎĵµÐÅÏ¢,¼°ÆäÖ®¼äµÄ¹ØÁªÐÅÏ¢,±¾ÏµÁн«Ê¹ÓÃÕâ¸öÏîÄ¿×÷ΪÀýÂëչʾ,Ï£ÍûÕâ¸öϵÁÐ×öÍêÒÔºó,´ó¼ÒÒ²¿ÉÒÔ½¨Æð×Ô¼ºµÄappdbϵͳ.
ƽʱ¹¤×÷±È½Ïæ,ÔÚ½²ÍêÈý²ã¼Ü¹¹µÄ»ù±¾¹æÔòºó,ʵÏÖ´úÂëµÄ²¿·Ö»á¸üÐÂÂýһЩ.
ÔĶÁ±¾ÏµÁÐ,ÐèÒªasp±È½Ï´¿Êì,²¢ÇÒÊìϤһЩÃæÏò¶ÔÏóµÄ»ù±¾¸ÅÄî,Á˽âÒ»µãÈý²ã¼Ü¹¹µÄ³£Ê¶¾Í¿ÉÒÔÁË. ......
1 Ç°ÑÔ
2 ¼òÊöÈý²ã¼Ü¹¹
3 ½¨Á¢Õ¾µãµÄ´óÌå½á¹¹
3.1 ´úÂëĿ¼
3.2 Ê×Ò³
3.3 ¼¸¸öÖØÒªµÄ»ù´¡Àà
Ø Con_Error ´íÎó´¦Àí
Ø Con_Convert ÀàÐÍת»»
Ø Con_Data Êý¾Ý¿âÁ¬½Ó
4 Éè¼ÆÓû§¹ÜÀí
5 Éè¼ÆÏîÄ¿¹ÜÀí
6 Éè¼ÆÏîÄ¿Îĵµ¹ÜÀí
7 Éè¼ÆÊý¾Ý¿â¹ÜÀí
8 &nb ......
ASPÖÐÈçºÎÓÃJS´Ó×Ó´°¿Ú´«µÝÖµ±äÁ¿µ½¸¸´°¿Ú±íµ¥ÖÐ?
ÐüÉÍ·Ö£º15 - ½â¾öʱ¼ä£º2008-6-10 00:06
¸¸´°¿ÚÖÐÓÐÒ»±íµ¥,ÏÖÔÚÊǵã±íµ¥ºóµÄÉÏ´«´ò¿ª×Ó´°¿Ú,¾¹ýÎÞ×é¼þÉÏ´«Îļþ³É¹¦ºó×Ó´°¿ÚÌáʾ³É¹¦,²¢ÓÃresponse.write(FileName) Êä³ö·¾¶³É¹¦.µ«ÈçºÎ´«µÝµ½¸¸´°¿ÚÎı¾ÓòÄÚÌá½»Êý¾Ý¿âÄØ?²é×ÊÁÏÊÇÓÃJS»Ø´«Ð´³É: response.write "<script>window.opener.document."&upload.form("Formname")&"."&upload.form("EditName")&".value='"&FileName&"'</script>" µ«²»³É¹¦.²»ÖªµÀΪʲô?
¸¸´°¿ÚFORM±íµ¥Ãû³ÆΪform1 Îı¾ÓòÃûΪPICNAME IDΪPICNAME
ÇëÎÊ×Ó´°¿ÚJS¸ÃÔõôд.
ÎÊÌâ²¹³ä£º
¸¸´°¿Ú±íµ¥,Ïë»ñÈ¡´Ó×Ó´°¿Ú´«¹ýÀ´µÄͼƬ·¾¶,²¢Ìá½»Êý¾Ý¿â.
ÔõôÓÃJS´«µÝµ½¸¸´°¿Ú?
ÒÔÏÂΪ×Ó´°¿Ú´«µÝJS´úÂ뵫²»³É¹¦:
response.write "<script>window.opener.document."&upload.form("Formname")&"."&upload.form("EditName")&".value='"&FileName&"'</script>"
ÇëÎÊ???tlshu ÄÜ˵ÏêϸµãÂð?ÄãµÄ¹ý³ÌºÍJSдÔÚ×Ó´°¿ÚÂð>ÀͼÝÏêϸµã˵.±¾ÈËASPÈëÃÅ.¼±!!!
ÌáÎÊÕߣº happywsws - ÊÔÓÃÆÚ Ò ......
¶ÔÓÚÈý²ã¼Ü¹¹µÄ¸ÅÄîÐÔÒâÒå,ÍøÂçÉÏÓкܶàרÎÄ̽ÌÖ,ÈôÏëÉîÈëÁ˽â,¿ÉÒÔ×ÔÑ°½â´ð.±¾ÎĽö×÷ΪһÖÖÓ¦ÓÃÐÔ̽ÌÖ,½²µÄ¸ü¶àµÄÊÇʵÏÖµÄϸ½Ú.
¼òµ¥µØ½²,Èý²ã¼Ü¹¹Êǽ«´úÂë°´Æä×÷Ó÷ֳÉÈý²¿·Ö,ÿ²¿·Ö½â¾ö×Ô¼º¸ºÔðµÄÁ÷³Ì.
´Ó±íÈëÉî,·Ö±ðÊÇ:
½çÃæ²ã-UI ´¦ÀíÒ³ÃæµÄÊý¾ÝÏÔʾ,¼°Óû§ÌåÑé
Âß¼²ã-BLL ÒµÎñ¹¦ÄܵÄʵÏÖ¹ý³Ì,Éú³É½á¹û,Ìá½»¸øUI
Êý¾Ý²ã-DAL ·ÃÎÊÊý¾Ý¿â,½«½á¹ûÌṩ¸øBLL
¿ÉÒÔÏëÏó³ÉÒ»¸ö×öÃæ°ü¹ý³Ì,DAL¸ºÔð´ÓÈÝÆ÷ÖÐÈ¡À´Ãæ·Û+¼¦µ°+Ë®,BLL¸ºÔð½ÁºÍ³É¿ÉÓõÄÃ潬²¢ºæ¿¾,UI¸ºÔð°Ñ¿¾ºÃµÄÃæ°ü°ü×°ºÃ·ÅÔÚ»õ¹ñÉϵȴý±»Âò×ß.
Èý²ã¼Ü¹¹Ç¿µ÷³ÌÐòµÄ¿É¸´ÓÃÐÔ,ÔÚÕâÒ»µãÉϲ¢²»¶ÀÌØ.
ÔÚ´«Í³µÄASP±à³ÌÖÐ,ͨ³£½«¿É¸´ÓõĴúÂë·â×°ÔÚfunction,subÖв¢·ÅÔÚÀýÈçmainfunction.aspÖ®ÀàµÄÎļþÖÐ,ͨ¹ý<!--#include file="mainfunction.asp" -->À´µ÷ÓÃ. ÊÂʵÉÏ,±¾ÎÄËù½²µÄÈý²ã¼Ü¹¹µÄ´úÂ븴Ó÷½Ê½,Ò²ÊÇÓÃ<!--#include file="**.asp" -->ʵÏÖµÄ,¸ú´«Í³·½Ê½ÊÇÒ»ÖµÄ.ËùÒÔÈç¹û½ö½öÊÇ¿ª·¢Ò»¸öСÐÍweb³ÌÐò,ÀýÈçÁ ......