title: Error showing up Fill: SelectCommand.Connection property has not been initialized
body: <pre><code>  DataSet ds = new DataSet();
  
      SqlDataAdapter cmd = new SqlDataAdapter("Select * FROM event", con);
      cmd.Fill(ds, "Table");
  </code></pre>
  
  <p>Getting the same error again and again tried everything</p>
  
  <p>please help</p>