Solved

Binding a Datasource to a TreeView

Posted on 2009-07-01
2
2,215 Views
Last Modified: 2012-05-07
Experts,

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?
0
Comment
Question by:NigelRocks
2 Comments
 
LVL 9

Accepted Solution

by:
Rahul Goel earned 500 total points
ID: 24760775
Please refer to the following article, here is your solution

http://www.eggheadcafe.com/articles/treeview_databinding.asp
0
 
LVL 1

Author Comment

by:NigelRocks
ID: 24766917
Actually, I'm using an ASP.NET TreeView.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now