I have connection string
SqlConnection con = new SqlConnection();
where con contains connection string info coming from DLL or app.config.
Now i want to display each and every thing in different variables.
e.g:
var connectionString = "Data Source=172.16.0.9;Initial Catalog=whiziblesem;UserID=mppuser;Password=mppuser";
Expected Output:
a = server name
b = Database name
c = username
d = password
Use SqlConnectionStringBuilder class:
Usage: