How to fill TreeView in ASP.Net 2.0 ?

L

Luqman

I am using Oracle Database Scott.Emp table with Parent/Child relation keys.

How can I fill the ASP.Net 2.0 TreeView Control using Sql Data Source.

As the TreeView just uses xmldatasource, is it possible to convert the Sql
Data Souce Data to XML File, if so, how ?

Best Regards,

Luqman
 
A

Alvin Bruney [MVP]

when you pull data from the database back, put it in a dataset and write out
the dataset to an in-memory file as XML. That can easily be consumed by a
treeview. THat's one way. THere may be other ways though.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top