Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF, Entity Framework, Conection String

$
0
0

Hello guys,

I have a code:

EntityConnectionStringBuilder efb = new EntityConnectionStringBuilder(ConfigurationManager.ConnectionStrings["AutoLotEntities"].ConnectionString);
SqlConnectionStringBuilder newBuilder = new SqlConnectionStringBuilder(efb.ProviderConnectionString);
newbuilder.UserID = "new_user";
sqlcsBuilder.Password = "new_pass";
so, I have got connection string and changed therein userId and password.

now how should I upgrade/save connection string in app.config?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>