Hi,
I've a sql table with columns TreeId and ParentTreeId. I'll be getting the data as datable from the database in my aspx code. I need to bind this and show in the tree view. I'm unable to get it done as I tried using multiple examples.
Need help in binding data from datatable to tree view in C#
Hello,
This is actually discussed in the forum and there are quite some threads regarding the topic.
You could refer to the following and let me know if you require further assistance:
webdatatree binding to dataset – including downloadable sample
need example of binding to a DataSet
Online documentation regarding Binding to Data:
http://help.infragistics.com/Doc/ASPNET/current/CLR4.0/?page=WebDataTree_Binding_to_Data.html
Additionally, an online sample illustrating binding to several available DataSources could be found at:
http://www.infragistics.com/samples/aspnet/data-tree/data-binding