title: Filling a TListBox with a column from a database query
body: <p>I created a table in my database with <strong>MYDAC</strong> components and added data. How can i extract these values that in colums from this table?</p>
  
  <p>i tried these but they didn't work;</p>
  
  <pre><code> MyQuery1.Close;
   MyQuery1.SQL.Text :='SELECT * FROM uyeler ORDER BY site';
   Listbox1.Items.Add(MyQuery1.ParamByName('site').AsString);
   MyQuery1.Execute; 
  </code></pre>
  
  <p>uyeler = table</p>
  
  <p>site = colums</p>
  
  <p>Editors Note: Based on comments made to accepted answer, this question is asking how to populate a <code>TListBox</code> with the data returned in a column of a query.</p>