How to fill TreeView in ASP.Net 2.0 ?

  • Thread starter Thread starter Luqman
  • Start date Start date
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
 
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
 
Back
Top