Tuesday, 7 August 2012

Read the Data From Data Base to XML File


Read the Data From Data Base to XML File


//code to make the data base values to the xml file

DataTable dt = selectData("select * from softwares", sqlCmd);
dt.WriteXml(@"c:\Data.xml", XmlWriteMode.WriteSchema);

// code ends here

No comments:

Post a Comment