This is a migrated thread and some comments may be shown as answers.

How to bind to SQL-Database

2 Answers 53 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Johann
Top achievements
Rank 1
Johann asked on 27 Feb 2012, 04:54 PM
Hi,

I have a question about the binding to a SQL-Database

The Database-Table looks like this:

Column        value

id                    id
name              name of the node
parentid          id of the parentid (0=root)

how is the best way to fill a RadTreeView from this table with all its nodes?

Thank you for your help and sorry for my bad english

2 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 28 Feb 2012, 12:37 PM
Hi Johann,

Thank you for contacting us. Could you please take a look at the links bellow and let me know if they help:

Populating Silverlight TreeView from WCF Service with LINQ to SQL

RadTreeView DataBinding Overview

I'd be glad to further assist you.

Kind regards,
Kiril Stanoev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Johann
Top achievements
Rank 1
answered on 05 Mar 2012, 08:38 AM
Hi Kiril,

thank you for your support. Your links helped me to solve my Problems with the RadTreeView.
It worked fine now.

Johann
Tags
TreeView
Asked by
Johann
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Johann
Top achievements
Rank 1
Share this question
or