asp.net 2.0ÖÐʹÓÃÊ÷µÄÎÊÌâ - .NET¼¼Êõ / ASP.NET
ʹÓõÄÊÇ¿ò¼Ü×Ô´øµÄtreeview
°ó¶¨ÏÔʾ£¬Äܹ»°´ÕÕÕýÈ·µÄÐÎʽÏÔʾ³öÀ´
µ«Ò»µã»÷¾Í»á±¨´í
³ÌÐò¼¯¡°System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a¡±ÖеÄÀàÐÍ¡°System.Web.UI.WebControls.TreeNode¡±Î´±ê¼ÇΪ¿ÉÐòÁл¯¡£
²»ÖªµÀʲôÔÒò
»¹ÕæÓöµ½¹ýÕâÑùµÄÎÊÌâ¡£¼ÈÈ»ÄÜÏÔʾ³öÕýÈ·µÄ½á¹¹£¬ÄÇTreeNodeÓ¦¸Ã³õʼ»¯ÁË°¡
Ìù´úÂë³öÀ´¿´
µã»÷µÄʱºò£¬ÎÒûдÈκδúÂë¡£¡£¡£
xuexi
×Ô¼º¶¥Ò»ÏÂ
°ÑÄãµÄ´úÂë·¢ÉÏÀ´¿´¿´
Ö»ÓÐÕâôЩ´úÂë
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindTree();
}
}
/// <summary>
/// °ó¶¨Óû§Ê÷
/// </summary>
private void BindTree()
{
this.treeUser.Nodes.Clear();
BindParent();
string str = "SELECT UserID,Name,SuperiorParent from umUserAccount WHERE UserID<>1 ORDER BY UserID,Rank";
DataTable dtTmp = DBHelper.Query(str).Tables[0];
if (dtTmp.Rows.Count > 0)
{
TreeNode nodeTmp;
string parentTmp = string.Empty;
for (
Ïà¹ØÎÊ´ð£º
ÓÐÒ»¸öÀà
class adc
{
dim a,b,c
}
ÈçºÎÔÚÁíÍâÒ»¸öÀàÖÐÈ¡µÃÀà³ÉÔ±¼°³ÉÔ±¸öÊý
class getmenber
{
dim menbers()
function getmenbers(resclass)
'resΪһδ֪Àà
'getmenber ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......
±¾ÈËÊDzËÄñÒ»¸ö£¬Æ½Ê±Òª×öÉúÒ⣬µ«ÊÇÕÒÁ˺ܶàÈË×öÍøÕ¾£¬¾ù±»ÆÁË¡£×öµÃ²»Èý²»ËÄ£¬ÏÖÔÚ¾öÐÄ×Ô¼ºÀ´×öÒ»¸ö£¬ÒÑѧϰASP.NETÏà¹ØµÄÍøÒ³ÖÆ×÷֪ʶ£¬ÓÐDW»ù´¡£¬¿ÉÒÔ˵ÊÇÄ¿Ç°Ö»ÓÐÀíÂÛ֪ʶ£¬µ«ÊÇÔÚʵ¼Ê¾ßÌå²Ù×÷µÄʱºò£¬×ÜÊÇÓöµ ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......