title: Return value from OleDbCommand
body: <pre><code>sqlQuery = "SELECT [ID] from [users] WHERE CallerName=@CallerName";
  
  OleDbConnection conn = new OleDbConnection(connectionString);
  conn.Open();
  cmd = new OleDbCommand(sqlQuery, conn);
  cmd.CommandText = sqlQuery;
  cmd.Parameters.Add("@CallerName", OleDbType.VarChar).Value = labelProblemDate.Text.Trim();
  cmd.Parameters["@CallerName"].Value = name;
  cmd.ExecuteNonQuery();          
  conn.Close();
  </code></pre>
  
  <p>I was told that this is how to read data from a SELECT query using Parameters but it's not working. I think I did something wrong.</p>
  
  <p>I am using WinForms and Microsoft Access 2007</p>