Click here to Skip to main content
16,006,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralExcel file printing via Adobe Printer Pin
shaiba9-Aug-05 20:51
shaiba9-Aug-05 20:51 
GeneraliUrgent Tab Pages Pin
Anonymous9-Aug-05 20:22
Anonymous9-Aug-05 20:22 
GeneralRDC help ( crystal report) Pin
Renjith Ramachandran9-Aug-05 18:18
Renjith Ramachandran9-Aug-05 18:18 
Generallistview control problem Pin
venadder9-Aug-05 16:08
venadder9-Aug-05 16:08 
GeneralRe: listview control problem Pin
Christian Graus9-Aug-05 16:29
protectorChristian Graus9-Aug-05 16:29 
GeneralRe: listview control problem Pin
venadder9-Aug-05 16:33
venadder9-Aug-05 16:33 
GeneralRe: listview control problem Pin
Christian Graus9-Aug-05 16:37
protectorChristian Graus9-Aug-05 16:37 
Generalurgent help with treeview control Pin
BORN...again!9-Aug-05 16:00
BORN...again!9-Aug-05 16:00 
Hi everyone,

I am using treeview directory structure in one of my applications. I need to display the count in a bracket next to each parentnode and child node, i.e., how many elements does one node have( count to be displayed , before & after collapse)


this is a part of my code to create a parent node

For each RowBranch in myDS.Tables("branch").Rows
Dim NewBranch As new Microsoft.Web.Ui.Webcontrols.TreeNode()
NewBranch.Text = RowBranch("braname")
NewBranch.Id = RowBranch("branchID")
NewBranch.Type = "Branch"
NewBranch.NavigateURL = "javascript:var win=window.open('branch_detail.aspx?ID=" & RowBranch("branchID") & "','','width=400,height=400')"
TreeView.Nodes.Add(NewBranch)

next to each branch (parent node) and dept(child node) i need to display a count of how many elements are present in that node. eg:

Presently it is:
+Adelaide ------Parent Node(branch)
|_
+Finance----------Child Node(dept)

I want it as :
+Adelaide (2)------i need to do this,(the count of no of child items inside)
|_
+Finance(25)----------i need to do this,(the count)
+Sales(20)



Need it urgently.Any help is well appreciated.Thanks a million

Aartee.


arty=me
GeneralRe: urgent help with treeview control Pin
Christian Graus9-Aug-05 16:03
protectorChristian Graus9-Aug-05 16:03 
GeneralRe: urgent help with treeview control Pin
BORN...again!9-Aug-05 16:12
BORN...again!9-Aug-05 16:12 
GeneralRe: urgent help with treeview control Pin
Christian Graus9-Aug-05 16:27
protectorChristian Graus9-Aug-05 16:27 
GeneralRe: urgent help with treeview control Pin
BORN...again!9-Aug-05 16:41
BORN...again!9-Aug-05 16:41 
GeneralRe: urgent help with treeview control Pin
Christian Graus9-Aug-05 17:05
protectorChristian Graus9-Aug-05 17:05 
GeneralRe: urgent help with treeview control Pin
BORN...again!9-Aug-05 18:28
BORN...again!9-Aug-05 18:28 
GeneralRe: urgent help with treeview control Pin
Christian Graus9-Aug-05 18:32
protectorChristian Graus9-Aug-05 18:32 
GeneralNeed help!!!!! Pin
DesertWrangler9-Aug-05 13:18
DesertWrangler9-Aug-05 13:18 
GeneralRe: Need help!!!!! Pin
Christian Graus9-Aug-05 14:47
protectorChristian Graus9-Aug-05 14:47 
GeneralRe: Need help!!!!! Pin
DesertWrangler10-Aug-05 10:16
DesertWrangler10-Aug-05 10:16 
GeneralRe: Need help!!!!! Pin
Christian Graus10-Aug-05 10:29
protectorChristian Graus10-Aug-05 10:29 
GeneralRe: Need help!!!!! Pin
DesertWrangler10-Aug-05 10:43
DesertWrangler10-Aug-05 10:43 
GeneralRe: Need help!!!!! Pin
Christian Graus10-Aug-05 11:17
protectorChristian Graus10-Aug-05 11:17 
GeneralRe: Need help!!!!! Pin
dptalt11-Aug-05 5:34
dptalt11-Aug-05 5:34 
Generalscreen size conversion Pin
utservoalius9-Aug-05 13:13
utservoalius9-Aug-05 13:13 
Generalorder by clause in XML Pin
Rizwan Bashir9-Aug-05 10:11
Rizwan Bashir9-Aug-05 10:11 
GeneralGot it Pin
Rizwan Bashir9-Aug-05 10:21
Rizwan Bashir9-Aug-05 10:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.