Hello,
Im about to add a treeview to a winform that will load hierarchical information. This data could get large at the root level, so ive started looking at ways to avoid loading it all at once. Im familiar with the ASP.NET treeview, so I thought Id give the winform version a shot also.
With the data I will be dealing with there will be a "level" indicator such as 1,2,3, 4 etc, that determines where in the hierarchy the item should be. With the ASP.NET trees Ive used, I typically filter the data to the first level, then add those nodes. Then do the same sort of thing when a node is clicked.
My question is - how do I attach data to the node, as well as simply give it a name. With the ASP.NET version, there would be a "value" attribute as well, which let me use that value to feed into other code that would go pull the next set of records.
Maybe im just not reading the right set of examples ?
help ?
Im about to add a treeview to a winform that will load hierarchical information. This data could get large at the root level, so ive started looking at ways to avoid loading it all at once. Im familiar with the ASP.NET treeview, so I thought Id give the winform version a shot also.
With the data I will be dealing with there will be a "level" indicator such as 1,2,3, 4 etc, that determines where in the hierarchy the item should be. With the ASP.NET trees Ive used, I typically filter the data to the first level, then add those nodes. Then do the same sort of thing when a node is clicked.
My question is - how do I attach data to the node, as well as simply give it a name. With the ASP.NET version, there would be a "value" attribute as well, which let me use that value to feed into other code that would go pull the next set of records.
Maybe im just not reading the right set of examples ?
help ?