title: DAO connecting to a database in c#
body: <p>I can't get a connection to my database, I only receive a compiler error that DAOWorkSpace is unassigned...
  And the bigger problem is that I can't find any documentation for DAO in C#.</p>
  
  <p>Yes i have to use DAO.</p>
  
  <p>My code: </p>
  
  <pre><code>DAO.Database DAODataBase;
  DAO.DBEngine DAODBEngine = new DAO.DBEngineClass();
  DAO.Recordset DAOFoundCode;
  DAO.Workspace DAOWorkSpace;
  
  DAODataBase = DAOWorkSpace.OpenDatabase(mdbFile, null, null, ";pwd=");
  </code></pre>
  
  <p>I tried setting different arguments but I keep getting the same error.</p>
  
  <p>I ran out of ideas.
  Help is appreciated since I'm stuck here. </p>