Free for PREMIUM members
[Webinar] Streamline your web hosting managementRegister Today
string connectionString = "Data Source=mkitani;Initial Catalog=Test;Integrated Security=false;User ID=testUser;Password=123; TimeOut=20;";
string passwordSection = connectionString.Split(';').First(s => s.Trim().StartsWith("password", StringComparison.OrdinalIgnoreCase));
string password = password = passwordSection.Split('='); // Second half of the =
Open in new window
SqlConnection conn = GetYourConnetion();
SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder(conn.ConnectionString);
string userID = builder.UserID;
With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.
If the value has not been set and the developer tries to retrieve the property, the return value is String.Empty.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Premium members get this course for $79.20.
Premium members get this course for $24.99.
Premium members get this course for $25.00.
Premium members get this course for $37.50.
Premium members get this course for $108.00.
Premium members get this course for $159.20.