| Author: Kamran Shahid 29 Oct 2008 | Member Level: Gold | Rating:  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 2008 | Member Level: Gold | Rating:  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
|