Click here to Skip to main content
15,921,577 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know how to use the Connection Factory in .net C# Windown Application. if any one send me the code.
mail_id- pankajcoo@gmail.com or pankajkumar@karunya.edu.in
Posted

1 solution

Use ConfigurationManager.ConnectionStrings[^] to get ConnectionStringSettings[^]

The result can be used with DbProviderFactories[^] using DbProviderFactories.GetFactory[^] to access the required provider factory.

Regards
Espen Harlinn
 
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