Solved

Binding a Datasource to a TreeView

Posted on 2009-07-01
2
2,238 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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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