Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
Tree Basics
posted

Hey guys... I'm not a really good .net guy so a lot of these basics elude me. 

I just want to fill an UltraWebTree with hierch data from a DB.  I'm using a middle tier data class to pull data in so I suppose I have to fill the tree by hand in the .vb, right...

I can't seem to find any code that really shows me how to do this... the code I'm seeing on the site all has so much extra stuff in it and is using a different type of data source than I am so it's hard for me to know which parts would belong to me. 

Can someone how me how i would just fill a tree with data coming from a data class or show me a better way to do it...

the table looks like this:

create table TopLevel

(

ID identity(1, 1),

ParentID int,

LevelNae varchar(100)

)

So it's pretty easy really.  I'm just not a .net guy so these easy things get past me.

Thanks

Parents Reply Children
No Data