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

ASPµÝ¹éÎÞ¼«Ï޲˵¥Ê÷

dataurl=Server.MapPath("menutree.mdb")'Êý¾Ý¿âµØÖ·
dim conn,strQuery,rs
set conn = server.CreateObject("adodb.connection")
conn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE="&dataurl
strQuery="select * from menufun"
set rs=server.createobject("adodb.recordset")
rs.open strQuery,conn,1,1
allnum=rs.RecordCount
'È¡µÃ×î´óµÄ²ãÊýMaxLevel
MaxLevel=1
for i=1 to allnum
if rs("PartLevel")>MaxLevel then
MaxLevel=rs("PartLevel")
else
MaxLevel=MaxLevel
end if
rs.movenext
next
rs.close
set rs=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ToumhÎÞ¼«Ï޲˵¥Ê÷</title>
<style type="text/css">
<!--
td {
font-size: 12px;
}
-->
</style>
<script language="javascript">
<!--
function divshow(cmy1,cmy2,cmy3)
//Õ¹¿ª/ºÏ²¢²Ëµ¥º¯Êý
{
if(document.all("div"+cmy1+cmy2+cmy3).style.display==""){
document.all("div"+cmy1+cmy2+cmy3).style.display="none"
}else{
document.all("div"+cmy1+cmy2+cmy3).style.display=""
}
}
//-->
</script>
</head>
<body bgcolor="#6699CC" topmargin="0">
<table border="0" cellpadding="0" cellspacing="0">
<tr onClick="javascript:divshow(1,0,1);" style="cursor:hand"><TD><img src="images/admin.gif">ToumhÎÞ¼«Ï޲˵¥Ê÷</TD></tr>
<%
dim toumh(10) '¶¨ÒåÓÃÓÚ´æ·Å²Ëµ¥Ç°ÏÔʾÊ÷ͼƬµÄÊý×飬Èç¹ûÓ¦ÓÃʱµÄ×î´ó¼¶Êý´óÓÚÊ®£¬ÇëÀ©´óÊý×éάÊý
call menutree(1,0,MaxLevel,1)'Ê״ε÷Óò˵¥Êä³öº¯Êý
'µÚÒ»¸ö²ÎÊý£º²Ëµ¥µÄ¼¶Êý
'µÚ¶þ¸ö²ÎÊý£º¸¸²Ëµ¥µÄID£¬Ò»¼¶²Ëµ¥Ä¬ÈÏΪÁã
'µÚÈý¸ö²ÎÊý£º²Ëµ¥µÄ×î´ó¼¶Êý
'µÚËĸö²ÎÊý£ºÓÃÓÚÇø·Ö²ãµÄÃû³Æ£¬·½±ãʵÏֲ˵¥µÄÕ¹¿ªºÏ²¢
%>
</table>
<%
'funno ²Ëµ¥µÄ¼¶Êý
'funcid ¸¸²Ëµ¥µÄID£¬Ò»¼¶²Ëµ¥¸¸¼¶IDֵΪ0
'MaxLevel ²Ëµ¥µÄ×î´ó¼¶Êý
'divno ÓÃÓÚÇø·Ö²ãµÄÃû³Æ£¬·½±ãʵÏֲ˵¥µÄÕ¹¿ªºÏ²¢
'menutree() ÊýÐβ˵¥Êä³öº¯Êý
function menutree(funno,funcid,MaxLevel,divno)
dim rsfun,numfun,funcidfun
strQuery1="select * from menufun where sup_funcid='"&funcid&


Ïà¹ØÎĵµ£º

ASP.NET ASP.NET ·þÎñÆ÷¿Ø¼þµÄÌØÀýÑéÖ¤½á¹û


      ÑéÖ¤¿ÉÒÔÈ·±£Óû§ÊäÈë·ûºÏÄúÖ¸¶¨µÄÌõ¼þ¡£ÔÚ´ó¶àÊýÇé¿öÏ£¬ÕâÒ»²Ù×÷±È½Ï¼òµ¥¡£µ«ÓÐʱ¶ÔÊäÈë½øÐÐÑéÖ¤»áÒýÈëÌØÊâµÄÌõ¼þ¡£Á˽âÕâЩÌõ¼þÊÇʲô¡¢ÑéÖ¤ÈçºÎÖ´ÐÐÒÔ¼°ÓÐÄÄЩ¿ÉÄܵÄÑéÖ¤½á¹ûÊǷdz£ÖØÒªµÄ¡£
 
Ò»¡¢Óë¿Õ°××ֶεĶԱÈ
Èç¹û×Ö¶ÎΪ¿Õ°×£¬Ôò³ý RequiredFieldValidator ¿Ø¼þÖ®ÍâµÄ ......

ASP.NET ÔÚ ASP.NET ÍøÒ³ÖÐÑéÖ¤Óû§ÊäÈë

 
      ͨ¹ýʹÓÃÑéÖ¤¿Ø¼þ£¬¿ÉÒÔÏò ASP.NET ÍøÒ³ÖÐÌí¼ÓÊäÈëÑéÖ¤¡£ÑéÖ¤¿Ø¼þΪËùÓг£Óõıê×¼ÑéÖ¤ÀàÐÍ£¨ÀýÈ磬²âÊÔij·¶Î§ÄÚµÄÓÐЧÈÕÆÚ»òÖµ£©ÌṩÁËÒ»ÖÖÒ×ÓÚʹÓõĻúÖÆ£¬ÒÔ¼°×Ô¶¨Òå±àдÑéÖ¤µÄ·½·¨¡£´ËÍ⣬ÑéÖ¤¿Ø¼þ»¹ÔÊÐí×Ô¶¨ÒåÏòÓû§ÏÔʾ´íÎóÐÅÏ¢µÄ·½·¨¡£ÑéÖ¤¿Ø¼þ¿ÉÓë ASP.NET ÍøÒ³ÉϵÄÈκοؼ ......

ASP.NET ASP.NET ·þÎñÆ÷¿Ø¼þµÄÑéÖ¤´íÎóÐÅÏ¢²¼¾Ö


      µ±´íÎóÐÅÏ¢³öÏÖÔÚÒ³ÉÏʱ£¬Ëü³ÉΪҳ²¼¾ÖµÄÒ»²¿·Ö¡£ÄúÐèÒªÉè¼ÆÒ³µÄ²¼¾ÖÒÔ·ÅÖÿÉÄܳöÏÖµÄÈκδíÎóÎı¾¡£
Èç¹ûÑéÖ¤ÔÚ·þÎñÆ÷ÉÏÖ´ÐУ¬Ôò³ý·Ç³öÏÖ´íÎ󣬷ñÔòÑéÖ¤¿Ø¼þ²»»á³ÊÏÖµ½Ò³£¬²¢Òò´Ë²»»áÕ¼ÓÃÈκοռ䡣Èç¹û³öÏÖ´íÎó£¬Ò³½«ÔÚÍù·µÆÚ¼äÖØд´½¨£¬²¢½«´íÎóÎı¾Ìí¼Óµ½Ò³¡£
Èç¹ûÓû§¾ßÓÐÖ§³Ö¶¯Ì ......

ASP.NET ÈçºÎ£º½ûÓà ASP.NET ·þÎñÆ÷¿Ø¼þÑéÖ¤


      ÔÚÌض¨Ìõ¼þÏ£¬Äú¿ÉÄÜÐèÒª±Ü¿ªÑéÖ¤¡£ÀýÈ磬Äú¿ÉÄܾßÓÐÒ»¸öÒ³Ã棬¼´Ê¹Óû§Ã»ÓÐÕýÈ·ÌîдËùÓÐÑéÖ¤×ֶΣ¬Ò²Ó¦¸Ã¿ÉÒÔ·¢ËÍÒ³¡£Äú¿ÉÒÔÉèÖà ASP.NET ·þÎñÆ÷¿Ø¼þÀ´±Ü¿ª¿Í»§¶ËºÍ·þÎñÆ÷µÄÑéÖ¤£¬¶ø²»Ö»ÊÇ¿Í»§¶ËÑéÖ¤¡£
°²È«ËµÃ÷£º ĬÈÏÇé¿öÏ£¬ASP.NET ÍøÒ³Ö´ÐÐÇëÇóÑéÖ¤ÒÔÈ·±£Óû§ÊäÈëÄÚÈݲ»°üº¬½Å±¾» ......

ASP.NET ÈçºÎ£ºÒÔ±à³Ì·½Ê½ÑéÖ¤ ASP.NET ·þÎñÆ÷¿Ø¼þ


      ĬÈÏÇé¿öÏ£¬ÔÚÒ³»Ø·¢µ½·þÎñÆ÷ʱ¡¢Ò³³õʼ»¯Ö®ºó£¨¼´ÊÓͼ״̬ºÍ»Ø·¢Êý¾ÝÒÑ´¦ÀíÖ®ºó£©ºÍµ÷ÓÃʼþ´¦Àí´úÂë֮ǰ£¬ASP.NET ÑéÖ¤¿Ø¼þ½«×Ô¶¯Ö´ÐÐÑéÖ¤¡£Èç¹ûä¯ÀÀÆ÷Ö§³Ö¿Í»§¶Ë½Å±¾£¬¿Ø¼þÒ²¿ÉÒÔÔÚä¯ÀÀÆ÷ÖÐÖ´ÐÐÑéÖ¤¡£
µ«ÊÇ£¬ÓÐʱÄú¿ÉÄÜÐèÒªÒÔ±à³Ì·½Ê½Ö´ÐÐÑéÖ¤¡£ÔÚÒÔÏÂÇé¿öÏ£¬Äú¿ÉÄÜÐèҪͨ¹ý±à³ÌÀ´½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ