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
http://topic.csdn.net/t/20060818/14/4959087.html
http://www.agrinei.com/gridviewhelper/gridviewhelper_en.htm
http://dotnet.aspx.cc/ShowDetail.aspx?id=149E5DD7-3B32-461e-ACC6-51D1652E6746
http://www.xueit.com/html/2009-08/21_4321_00.html
http://topic.csdn.net/t/20060429/10/4722766.html
......
×î½üÏîÄ¿ÖÐÐèÒªÓõ½urlrewriterÖØÐ´µÄ¹¦ÄÜ ¡£¡£ µ«ÊÇÔÚÖØÐ´ºóµÄurlÀïÈç¹û²úÉú»Ø·¢£¬url¾ÍÓֱ仨ÔÀ´µÄurl Á´½Ó¡£¡£
ÔÚÍøÉÏÕÒÁ˺þã¬ÖÕÓÚÕÒµ½Ò»¸ö¿ÉÒÔÕý³£Ê¹Óã¬ÓֱȽÏÈÝÒ×·½·¨¡£¡£ ºÙºÙ £¬×Ô¼º¼Ç¼һϰɡ£
ASP.NET URL Rewrite. URLÖØÐ´
URL ÖØÐ´ÊǽØÈ¡´«Èë Web ÇëÇó²¢×Ô¶¯½«ÇëÇóÖØ¶¨Ïòµ½ÆäËû URL µÄ¹ý³Ì¡£
± ......
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Ó¦Ó ......