title: How do I change a sql server password that has expired from C# code?
body: <p>When you are using a SqlConnection to connect to a MS Sql Server, if the password has expired you will get a SqlException Number: 18487 or 18488.</p>
  
  <p>How can you change the user's password in code during the connection attempt?</p>