473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to fill TreeView in ASP.Net 2.0 ?

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

Apr 19 '07 #1
1 4186
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
"Luqman" <pe*******@cyber.net.pkwrote in message
news:ON**************@TK2MSFTNGP05.phx.gbl...
>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

Apr 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JohnnyB via DotNetMonster.com | last post by:
Hello, I dont know, if this has already been asked before, I'm sorry if so. VisualBasic: My problem (happens with TreeView, not with AxWebBrowser): treeview uses (no matter, if dock = left,...
42
by: lauren quantrell | last post by:
So many postings on not to use the treeview control, but nothing recently. Is it safe to swim there yet with Access 2000-Access 2003?
4
by: Ian Powell | last post by:
Hi I've got objects in an sorted ArrayList like: P:\ P:\\DOCS P:\\i386 P:\\i386\ASMS P:\\i386\ASMS\1000 P:\\i386\ASMS\1000\MSFT
2
by: Ole Baba | last post by:
In Form1.cs I have defined the "InstituteAdministrator" class which contains ListView "listViewAddress". In a second file (FormTreeView.cs) I have the class FormTreeView with the method...
2
by: PawelR | last post by:
Hello Group, I have DataTable dt with 3 Columns (id, GroupName, ItemName). How group in TreeView items by GroupName? EX: myTable: id GroupName ItemName 1 Group1 ...
2
by: Adrien Reboisson | last post by:
I'm trying to build a basic DB explorer using C# & Visual Studio 2005. I installed SQL Server 2005 Express, created a blank project, dropped a TreeView, a ListView and a DataGridView : DB objects...
8
by: sfauchille | last post by:
Hello, I have to fill a treeview with data in a text file text file A.B.C.D.Var1 A.B.C.D.var2 A.B.A.Var1 B.A.C.var2 B.C.D.var3
2
by: RP | last post by:
I have an Access Table with following columns: GID (auto number) PID number TreeID Text ItemName Text This table consists of records in the following manner: GID PID TreeID ...
0
by: mdevenney | last post by:
My company doesn't allow for the use of .pst files. So to archive email we have to select the email(s) and click save as or drag them to a folder. I want to write a c# app that will show your...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.