title: The type name 'UserDetailsDataRow' doesn't exist in the type 'UserDetails'
body: <p>I am new to C# and currently using VS2010. When I try to do this: </p>
  
  <pre><code>UserDetailsTableAdapters.UserDetailsTableAdapter userDetails = new UserDetailsTableAdapters.UserDetailsTableAdapter();
  UserDetails.UserDetailsDataTable loginDetailsTable = userDetails.GetData();
  UserDetails.UserDetailsDataRow dataRow = null;
  </code></pre>
  
  <p>I get this error</p>
  
  <blockquote>
    <p>"The type name 'UserDetailsDataRow' doesn't exist in the type
    'UserDetails'"</p>
  </blockquote>
  
  <p>I have included the <code>using System.Data;</code> Any ideas what might be causing this issue and how to resolve it ? </p>
  
  <p>Edit: UserDetails is a data set. I have a Table Adapter to an Access Database file. What I am trying to accomplish is to go through the set of existing users and at a later stage compare one of the values to check if it already exists. My idea was to get the row and compare one of the columns with a local variable for matches. </p>