Click here to Skip to main content
15,939,243 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to use a SQL query that returns XML, in order to bind a TreeView control to SQL data? In other words, I would like to set up a query that presents table data as hieracrhical XML, and bind this XML to the TreeView.
Posted

I suspect that this[^] will help you ( how to return XML from SQL Server )
 
Share this answer
 
Try This control
Bindable TreeView
Add To your bin folder and add it as new item in your toolbox it takes
(ID,ParentID,Text,TableName,ConnectionString)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900