title: how to INNER JOIN(2 tables)
body: <p>got a little question. I got an error in this code:</p>
  
  <pre class="lang-vb prettyprint-override"><code>  Private Search As New joiningDataContext
  
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtsearch.Click
          Dim SearchData = Search.SelectData(txtsearch.Text)
  
          DataGridView1.DataSource = SearchData
  </code></pre>
  
  <p>and this is my stored procedure:</p>
  
  <pre class="lang-sql prettyprint-override"><code>AS
  
      SELECT e.employee_id, e.first_name, e.last_name, e.middle_name, e.email, d.department_id, d.manager_id
      FROM employee_info AS e
      INNER JOIN departments AS d
      ON employee_info.employee_id=departments.department_id
      WHERE employee_info.employee_id=@employee_id
  
  RETURN
  </code></pre>
  
  <p>it said that, <code>SelectData</code> is not a member of <code>Windowapplication1.joiningDataContext</code>. 
  How can I resolve this one? thanks in advance..  </p>