title: namespace could not be found
body: <p>I know there are multiple questions on here related to the same issue but none of the proposed solutions seem to work for me. Having said that, I'm an ASP.NET noob so am probably missing something obvious.</p>
  
  <p>After completing <a href="http://www.asp.net/web-forms/tutorials/data-access/introduction/creating-a-data-access-layer-cs" rel="nofollow noreferrer">a Data Access Layer tutorial,</a> I tried to make a little project with a database called <code>ASPNETDB.MDF</code>, laid out like this:</p>
  
  <p><img src="https://i.stack.imgur.com/2G943.png" alt="enter image description here"></p>
  
  <p>I created a data set called myDataSet, which is in the App_Code folder.
  I then created a table adapter:</p>
  
  <p><img src="https://i.stack.imgur.com/XiMVx.png" alt="enter image description here"></p>
  
  <p>From following the tutorial, I understand that I should include the line:</p>
  
  <pre><code>using myDataSetTableAdapters;
  </code></pre>
  
  <p>This results in a "namespace could not be found" error.</p>
  
  <p>I've tried moving the data set out of the app_code folder, adding a prefix in the properties and a few other suggestions from questions and answers on here but nothing has worked so far.</p>
  
  <p>Anyone have any ideas?</p>
  
  <p>-EDIT-</p>
  
  <p>Changing the line to using Login.App_Code.myDataSetTableAdapters as suggested in the answer below, now gives me a weird error; The type name App_Code does not exist in the type 'System.Web.UI.WebControls.Login' Maybe this is related to the problem?</p>
  
  <p>-Edit2-</p>
  
  <p>Due to the conflict caused by the site being named <code>Login</code>, I changed it to <code>myLogin</code> but now have <code>namespace myLogin could not be found.</code></p>