Binding a Datasource to a TreeView


I have a TreeView.  I want to bind it to a DataSource.  

I dragged the table from the Server Explorer onto the form.  It makes a GridView (which I don't want) and a DataSource object attached to it.  

I try to find the DataSource in the TreeView property, but it's not listed.  I change the name of the DataSource, but it's still not listed.  How do I create a DataSource that is not attached to a grid that I can link to the TreeView?
Who is Participating?
Rahul Goel ITILConnect With a Mentor Senior Consultant - DeloitteCommented:
Please refer to the following article, here is your solution
NigelRocksAuthor Commented:
Actually, I'm using an ASP.NET TreeView.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.