title: C# code to Display a Query Result in a List Box in windows forms
body: <p>I am working on a software in which i need to display the search query results in a listbox.
  mine is a medical software and im trying to display the list of medicines in the listbox.
  im using c# for coding under Windows Visual studio 10 platform.
  please help me wid this.
  regards</p>
  
  <p>Im using Sql server management studio as backend.
  im using a button which when clicked will fire an event performing a query.
  the query is select * from Table_name 
  i want to show the query list in the listbox..</p>