title: The ConnectionString Property Has Not Been Initialised VB.NET
body: <p>I'm somewhat a beginner at VB.NET and I haven't gone deep into what it can do. Most of the questions regarding this matter are related to much higher levels than what I'm capable of.</p>
  
  <p>This, simply, is how I initialise my ConnectionString to an SQL DB.</p>
  
  <pre><code>Dim connection As New OleDb.OleDbConnection
  Dim provider As String
  Dim source As String
  provider = "PROVIDER=Microsoft.Jet.OLEDB.4.0;"
  source = "Data Source=|DataDirectory|ClientDatabase.mdb"
  connection.ConnectionString = provider &amp; source
  </code></pre>
  
  <p>It's worked for the past six months. Why isn't it now?</p>
  
  <p>The error I keep getting is:  <em>The ConnectionString property has not been initialized.</em></p>
  
  <p>Usually when this came up it was something silly like misspelling something etc.</p>