SQL to XML
SQL to XML
SQL to XML
SQL to XML
SQL to XML
SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML
SQL to XML SQL to XML
SQL to XML
Go Back  Xtreme Visual Basic Talk > > > SQL to XML


Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2006, 03:45 PM
csquared csquared is offline
Newcomer
 
Join Date: Aug 2006
Posts: 3
Default SQL to XML


Hello,

I'm doing something that I think would be pretty easy but I cannot figure it out. What I'm trying to do is run a SQL command in VB.net and have all of the results returned in XML in VB.NET. A little code sample to get my on the right track would be awesome. I have search google with no luck.

I am doing this in a web service if it makes any sort of difference.

Thank you,
Reply With Quote
  #2  
Old 09-14-2006, 10:50 AM
IUnknown's Avatar
IUnknown IUnknown is offline
Senior Contributor

Forum Leader
* Expert *
 
Join Date: Oct 2004
Location: Montréal
Posts: 1,135
Default

Take a look at this article
Reply With Quote
  #3  
Old 09-24-2006, 10:12 PM
VBModal's Avatar
VBModal VBModal is offline
Centurion
 
Join Date: Jun 2003
Location: Philippines
Posts: 138
Default

Quote:
Originally Posted by IUnknown
Take a look at this article
you may try searching for FOR XML Clause in google
sql server will return a xml formatted output
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
SQL to XML
SQL to XML
SQL to XML SQL to XML
SQL to XML
SQL to XML
SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML SQL to XML
SQL to XML
SQL to XML
 
SQL to XML
SQL to XML
 
-->