I never want to split connection string using string manipulation and get server,database,uid and password.
I read the following link and read the accepted answer , I found that is the best way to get userid and password out from connection string, but what about Database Name?
Right way to get username and password from connection string?
How to get Database Name from Connection String using SqlConnectionStringBuilder. (does the DataSource is the Server name?)