C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » XML »

Getting XML into and out of database


Posted Date: 29 Oct 2008      Posted By: partha chowdhury      Member Level: Silver     Points: 1   Responses: 2



Getting XML into and out of database




Responses

Author: Kamran Shahid    29 Oct 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

What's DB you are using ?
In Sql server 2005 and following edition there is a XML fiield type which you can use.



Author: tvkrao    01 Nov 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 5

If you want to get xml from Datbase:-

- you might have DataSet or DataTable as the data coming from Database.

if you have dataset. use dataset.GetXml-> this will convert the dataset to XML format.

if you want to send xml to dataset. from SQL Server 2005 has support directly dump the xml in to db.

from DOM object dateset.setXML(string) will convert the xml string to Dataset from there you can use the way you want.

Venkat



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : What is XML island?
Previous : Difference - Document Type Definition (DTD) and XML Schema
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use