title: How to connect to a MySql database in ASP.NET web application?
body: <p>Let's say I already have a correctly formed connection string named '<strong>myConn</strong>' in my Web.config. The database is on a different server and is MySQL. How do I connect to this database in my ASP.NET web app?</p>
  
  <p><strong>What I tried:</strong><br />
  I tried installing the '<strong>ADO.NET C# DbContext Generator With WCF Support</strong>' but this blew up in my face with the error message '<em>The assembly reference "System.Data.Entity" could not be added to the project. This wizar will continue to run, but the resulting project may not build properly.</em>'</p>
  
  <p><strong>Notes:</strong><br /></p>
  
  <ul>
  <li>Using Visual Studio 2010 (Version 10.0.40219.1 SP1Rel) </li>
  <li>Using .NET Framework 2.0</li>
  </ul>