Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
Please i need help to do that : saving my connection string and database table and its columns in xml file to could change to could SAVE OR LOAD THESE DATA and info.
any help please?
Posted

1 solution

You can use the GetXml[^] method to retrieve the data as XML, but you should not store the connection string with it. The connection string should be in the application configuration file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900