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

asp.net TreeView CheckChanged ʼþdz̸


ÔÚ¿ª·¢Öо­³£¿ÉÒÔÅöµ½ÀàËÆµÄÎÊÌâ: Ïëͨ¹ýÒ»¸öÊ÷¸¸½ÚµãµÄTreeNodeCheckChanged ʼþ( ǰÌáÊÇÉèÖÃTreeView µÄCheckBox ¿É¼û), À´Ñ¡Ôñ»ò·´Ñ¡ÔñÈ«²¿µÄ×Ó½Úµã, À´ÊµÏÖ×Ô¼ºµÄҪʵÏֵIJÙ×÷¹¦ÄÜ. ÓÚÊÇÎÒÃǺÜÕý³£µÄ˼ά´ÙʹÎÒÃÇȥѰÕÒTreeView µÄµÄÀàËÆÓÚ ” CheckChanged ” µÄʼþ, ºÜÈÝÒ×ÎÒÃÇÕÒµ½ÁËÕâ¸öʼþ ” TreeNodeCheckChanged ” . ÎÒÃǺÜÇáËɲ¢ÓÅÑŵÄд×ÅʼþµÄʵÏÖ´úÂë, ÐÄÀíºÜ¸Ðл΢Èí, ѾµÄÕæÊµ·½±ãÔÛ¿ª·¢°¡, ҪɶÓÐɶ, ¾Í²î͵͵Ц³öÀ´ÁË(:-D).
Õýµ±ÎÒÃÇÔÚ¸ßÐËÍ·ÉÏÄØ, ÎÒÃÇ·¢ÏÖµ±ÎÒÃǵã»÷ÄǸöÈý½ÇºÅÔËÐÐÒ³ÃæµÄʱºò, µã»÷¸¸½Úµã×ӽڵ㲢ûÓб»Ñ¡Öлõ·´Ñ¡. »¹ÒÔΪÊÇÊó±êÎÊÌâÄØ. ÓÚÊÇÔٴεĵã»÷¸¸½Úµã, »¹ÊÇûÓÐÎÒÃÇÏëÒªµÄ½á¹û. ÕâÊÇÎÒÃÇ¿ÉÄÜ»áË¢ÐÂÒ³Ãæ²¢Ôٴεij¢ÊÔ, ½á¹û»¹²»ÊÇÎÒÃÇÏëÒªµÄÑù×Ó.
ÓùßÁËÏֳɵĶ«Î÷, ÏÖÔÚͻȻ³öÁ˵ãÒâÍâ, ºÜÈÃÈËɨÐË. µ«ÊÇÏîÄ¿²»ÄÜÍ£ÄÅ, ÓÚÊǺõÎÒÃÇ¿ªÊ¼·ÖÎö´úÂë, ¼ì²éÊý´Îºó·¢ÏÖ´úÂëûÎÊÌâ. ÎÒÃÇ¿ªÊ¼google. àÅ, ÕÒµ½ÁËÔ­Òò. Ô­À´Ö»Óе±Ò³Ãæsubmit µÄʱºò²Å»áÌá½»¸ü¸Ä, ÕâÒ²ÊÇÒ»¸ö½â¾öÎÊÌâµÄ·½Ïò. µ«ÊÇÎÒÃÇÏëÔÚ²»Ìá½»Ò³ÃæµÄʱºò¾Í¸ü¸Ä±ä, Õâ¸öʱºòÎÒÃÇÏëµ½ÁËͨ¹ýjavascript À´½â¾öÎÊÌâ.
ÕâÊÇÎÒÃÇÒª½øÐвÙ×÷µÄTreeView, µ±ÎÒÏëµã»÷Ò»¼¶½ÚµãµÄʱºòÏë°ÑÁ½¸ö¶þ¼¶½Úµã¶¼Ñ¡ÖÐ. ÈçÏÂͼ .

´Ó²é¿´TreeView µÄHTML ´úÂ뿪ʼ, Ò³ÃæÉÏÉú³ÉµÄ´úÂëÀàËÆÓÚÏÂÃæ( ´úÂëÌ«¶àÎÒÕûÀíÁËÒ»ÏÂ):
Ò»¸öTreeView ´ÓÒ»¸öêµã¿ªÊ¼.
< a href ="#TreeView1_SkipLink">
< img alt =" Ìø¹ýµ¼º½Á´½Ó¡£" width ="0" height ="0" style ="border-width: 0px;" /></ a >
È»ºóÊÇÒ»¸ö½ÚµãÈÝÆ÷DIV( TreeView1 ), ËùÓеĽڵ㶼·ÅÔÚÕâÀï.
< div id ="TreeView1" onclick="onTreeViewClick(event);" style ="font-size: 12px;">
Ê÷½ÚµãÔÚHTML ÓÃTable ±êÇ©À´±íʾ, Ò»¸öNode ½Úµã¾ÍÊÇÒ»¸ö±í¸ñTable. ËùÒÔÏÂÃæÃû³ÆÎª ” Ò»¼¶½Úµã ” µÄ±í¸ñÊÇÊ÷µÄÒ»¸ö½Úµã .  
    < table cellpadding ="0" cellspacing ="0" style ="border-width: 0;">
        < tr >
            < td >
                < a id ="TreeView1n0" href ="javascript:TreeView_Toggl


Ïà¹ØÎĵµ£º

ASP.NET±à³ÌÖеÄÊ®´ó¼¼ÇÉ


ÔÚ±¾ÆªÎļþÖУ¬ÎÒÃǽ«ÌÖÂÛ±à³ÌÈËÔ±ÔÚʹÓÃASP.NET¿ª·¢Ó¦ÓóÌÐòʱÐèҪעÒâµÄ10¸ö¼¼ÇÉ£¬ÕâЩ¼¼ÇÉÉæ¼°´ÓȱʡµÄ¿Ø¼þ¡¢±íµ¥ÃûµÄ¸Ä±äµ½StringBuilderÀàµÄʹÓã¬ÓÐÖúÓÚ±à³ÌÈËÔ±Äܹ»¾¡¿ìµØÊÊÓ¦.NET»·¾³¡£ 1¡¢ÔÚʹÓÃVisual Studio .NETʱ£¬³ýÖ±½Ó»ò·ÇÒýÓõĶÔÏóÍ⣬²»ÒªÊ¹ÓÃȱʡµÄÃû×Ö¡£
.NET´øÀ´µÄºÃ´¦Ö®Ò»ÊÇËùÓеÄÔ´´úÂëºÍÅäÖÃÎ ......

asp.net c# request³£ÓÃ

using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace pub.mo
{
public class request
{
private request() { }
/// <summary>
/// »ñÈ¡session
/// </summary>
/// <param name="_session_name" ......

dz̸ASP.NETÖеÄÈýÖֻỰ״̬

dz̸ASP.NETÖеÄÈýÖֻỰ״̬
     ³£ÓõÄASP.NETµÄ»á»°×´Ì¬ÖÐÓÐÈýÖÖ.·ÖΪ½ø³ÌÄڻỰ״̬¡¢×´Ì¬·þÎñÆ÷»á»°×´Ì¬¡¢SQL Server »á»°×´Ì¬
   
     ÏÈ̸̸½ø³ÌÄڻỰ״̬£¨Inprocess£©ÕâÊÇÒ»ÖÖĬÈϵÄģʽ£¬µ«ÊÇÖ»ÒªÔÚWeb.configÖнøÐмòµ¥µÄÅäÖþͿɽøÐиü¸Ä£¬¾ßÌå ......

ZedGraphÔÚAsp.netÖеÄÓ¦ÓÃ

ÓÉÓÚÏîÄ¿µÄÐèÇóͼ±íÏÔʾÊý¾Ý,½ñÌìÔÚÍøÉÏÕÒÁËÒ»Ìì,ÖÕÓÚÕÒµ½Ò»¸ö²»´íµÄ¿Ø¼þ----ZedGraph,ËüÖ§³Öasp,asp.net,vc.
ÏÖÔÚ×îеİ汾ÊÇ5.0,Щ°æ±¾Ö§³Ö   .NET 2.0.5.0°æ±¾ÒÔϵÄÖ§³Ö.NET 1.1
ÎÒÃÇÏÖÔÚµÄÏîÄ¿ÊÇ.NET1.1¿ª·¢µÄ.ÎÒÔÚÍøÉÏÕÒÁËÒ»ÌìҲûÓз¢ÏÖÒ»¸öÀý×Ó,ÏÂÃæÎÒ½«½éÉÜÏÂÆäÔÚASP.NETϵÄÓÃ×öWEB¿Ø¼þµÄÓ÷¨ ......

ASP.NETС¼¼ÇÉ.txt

Ò».Response¶ÔÏóµÄWrite·½·¨ÓëJavaScript½Å±¾ÓïÑԵĽáºÏʹÓÃ.(page_51)
µ¯³öÌáʾ¶Ô»°¿ò.
Response.Write("<script>alert('ÄãºÃ!');</script>");
   2.¹Ø±Õ´°¿Ú
Response.Write("<script>window.opener=null;window.close();script>");
¶þ.»ñÈ¡¿Í»§¶ËIPµØÖ·.(page_54)
1. ͨ¹ýRequestµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ