Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Binding a Datasource to a TreeView

Posted on 2009-07-01
2
Medium Priority
?
2,305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Rahul Goel ITIL earned 1500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

610 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