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

asp.net treeview°ó¶¨Êý¾Ý¿â£¬²¢È¡½ÚµãºÍ½ÚµãµÄÄÚÈÝ

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using AlltripDLL;
public partial class visa_tree : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bindtree(0);
        }
      
    }
    public void bindtree(int id)
    {
        treeclass tree = new treeclass();
        DataTable ds = tree.selectnode(id);
        for (int i = 0; i < ds.Rows.Count; i++)
        {
            TreeNode node = new TreeNode();
            node.PopulateOnDemand =false;
            node.Text = ds.Rows[i]["nodesname"].ToString();
            node.Value = ds.Rows[i]["nodesid"].ToString();
            TreeView1.Nodes.Add(node);
            //node.NavigateUrl = "list.aspx";
            node.SelectAction = TreeNodeSelectAction.Expand;
            bingChildnodes(node);
        }
    }


Ïà¹ØÎĵµ£º

¼´½«ÍƳöµÄASP.NET Ajax Library...

 ÓкܾÃÒ»¶Îʱ¼äÎÒµÄBLOGÉÏûÓгöÏÖAJAXÏà¹ØÑ¶Ï¢ÁË£¬Ö÷Òªµ±È»ÊÇÒòΪ¾ø´ó²¿·ÖµÄÖØÐͼ·Åµ½ÁËSilverlightÉíÉÏ(¿ÉÔ¤ÆÚµÄδÀ´Ó¦¸ÃÒ²»áÊÇÈç´Ë)¡£
µ«ÓÉÓÚ¹¤×÷ÉϵÄÐèÒª£¬×î½ü»¹ÊÇ»ØÍ·¿´ÁËһϼ´½«ÍƳöµÄASP.NET Ajax Library...£¬Ë³±ãÕÒÁËÒ»ÏÂÍøÂçÉϵÄѶϢ£¬¿´Õâ¸öÌ¬ÊÆÎÒ²ÂÏëÓ¦¸Ã²»ÉÙASP.NET¿ª·¢ÈËÔ±ºöÂÔµôÁËÕâ¸öÆäʵÒѾ­bet ......

SilverlightÓ¦ÓóÌÐòÖлñÈ¡ASP.NETÒ³Ãæ²ÎÊý

·½·¨Ò»£ºÊ¹ÓÃInitParameters
´«µÝ²ÎÊýÒ³Ãæ:
        ´«µÝÒ»¸ö²ÎÊý
string url = "index.aspx?UserID=" +userId;
//×î´ó»¯       
string refUrl = "<Script>window.self.open('" + url + "', '', 'fullscreen=yes,scrollbar=no,toolba ......

asp.netɾ³ýÎļþ¼ÐºóSessionÎÊÌ⣡½â¾ö·½·¨


ÏÈ˵ÎÒ×Ô¼º×µÄ·½·¨¾ÍÊÇÓÃCookie!µÇ½ʱ¼ÓÒ»¸öuserIdÔÚcookieÀȻºóɾ³ýÎļþÖØµÇʱ£¬Èç¹ûsessionΪ¿Õ¾ÍÈ¡cookieÈ¥¸³session!...Èç¹û´ó¼Ò²»Ï²»¶¾ÍÓÃÒÔÏ·½·¨£º
×î¼òµ¥µÄ°ì·¨¾ÍÊDz»ÒªÊ¹ÓÃĬÈϵķ½Ê½Ò²¼´
InProc£¨Ä¬ÈÏ£¬½ø³ÌÄڵĻỰ״̬£©£ºSession´æ´¢ÔÚIIS½ø³ÌÖУ¨Web·þÎñÆ÷Äڴ棩¡£Èç¹ûʹÓõÄÊÇWindows 20 ......

asp.netÖд´½¨table±í¸ñ

ÒýÓÃusing System.Web.UI.HtmlControls;
ǰ̨µÄ<table id="mytab" border="1" runat="server" class="t1" width="600">
                               ......

jQueryÓëasp.net ajaxÎÄÕÂÁ½Æª

1.Using jQuery with ASP
.NET
http://dotnetslackers.com/articles/ajax/using-jquery-with-asp-net.aspx
°üÀ¨jQueryÔõôµ÷ÓÃasp.net web service
2.jQuery and ASP.NET AJAX
UpdatePanel
http://www.dotnetfunda.com/articles/article471-jquery-and-aspnet-ajax-updatepanel.aspx
²¿·Ö¸üкóÔõô±£³ÖjQueryÓ¦Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ