Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am Writing connection string in xml file. i want to read that connection string from this xmi file. i am using windows form application with vb.net.

any one tell me the example.

Regards
Nanda Kishore.CH
Posted

You should have googled a bit. Anyway, you can use the XMLReader class for reading/parsing your XML file. You even can find the sample code in the following MSDN link.

MSDN Help for XMLReader[^]

This is just for your reference: Using the XmlReader class with C#[^]
 
Share this answer
 
click here for all types of connection strings

http://www.connectionstrings.com/[^]
 
Share this answer
 
v2

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