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

x
?
Solved

bind dataset to a treeview in asp.net c#?

Posted on 2010-11-10
3
Medium Priority
?
1,201 Views
Last Modified: 2012-05-10
is there a way to bind a tree view control to a data set?

i am having to build the nodes of the tree by looping through a data set and wanted to clean it up and make life better buy just doing a .databind()

any ideas?
0
Comment
Question by:realcoding
[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
3 Comments
 
LVL 15

Expert Comment

by:Praveen Venu
ID: 34110258
0
 

Accepted Solution

by:
realcoding earned 0 total points
ID: 34122359
actually you can only bind to a site-map provider or xml.
with sql2005 i can use FOR XML and get my data in a good format and then just bind it to the DataSource and then .databind()

done!
0
 

Author Closing Comment

by:realcoding
ID: 34153327
this is a direct solution without looping to build each node. i want to be able to so what my question + answer stated and that's to just do a .databind()
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

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