Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2005, 11:11 PM
Authorized User
 
Join Date: Jun 2003
Location: Brentwood, N.Y, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Select Data From Database and Convert to XML

  Hey Guys


  I'm new to XML. Can someone walk me throught Selecting Data from my SQL Server and displaying the data on a MicroSoft TreeView Web control. Thanks

Thanks

Sincerely; Oscar Martinez
__________________
Thanks

Sincerely; Oscar Martinez
Reply With Quote
  #2 (permalink)  
Old February 13th, 2005, 06:32 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I don't know what format the treeview expects. If you show a small example and your table(s) structure I'll try to help.
You'll need to do a normal select query but modify it by adding FOR XML at the end, possibly with other options too. See SQLXML in the sql server books online.

--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
code of convert xml data type in string by C# prafullaborade XML 2 May 24th, 2008 07:49 AM
Convert 1 big XML to multiple smaller XML victorcorey XSLT 1 March 20th, 2008 05:59 AM
Urgent inserting data to database from xml File Venkata Krishnan ADO.NET 1 November 8th, 2005 08:58 AM
Convert from xml to Access database lxu XSLT 0 June 3rd, 2004 01:24 PM
Inserting data from Xml to Access Database diptanjan Classic ASP Professional 0 December 1st, 2003 02:05 AM



All times are GMT -4. The time now is 10:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.