title: iterating through the rows of a table using tableadapters in vb.net
body: <p>i have a problem. I have database with a tableadpater. i want to get the userid with this tableadapter.</p>
  
  <pre><code> Dim dsGN As New ForumTableAdapters.Message2TableAdapter
  
      Dim dtBetrieb As Data.DataTable = dsGN.GetUserIdFromThisMessage(ConversationID)
  
      For Each objRow As dsGN.Message2Row In dtBetrieb.Rows
  
          mystring = objRow.UserId.ToString
      Next
  </code></pre>
  
  <p>i get the error "dsGN.Message2Row is not defined"</p>
  
  <p>The Name ob my table in the database is "Message"
  i hope that somebody can help me.</p>