title: Load database data into asp.net page
body: <p>I would like to know how to load data from a database into a asp.net form.</p>
  
  <p>So I use code to get the data via a query "<code>Select * From ... Where ... = ...</code>"</p>
  
  <p>Then I load it into a reader and </p>
  
  <pre><code>While (reader.read)
  {   string sProductName = Convert.ToString(reader[1]);
      /*
      Now I need to display this name and all the other data 
      (selling price, etc) on the form
      But as I do not know how many products there will be it (the form) has to change 
      as the database information does (more products get added or removed). 
      */
  }
  </code></pre>
  
  <p>I do not know how to do that last part. How to make the data found display on screen.</p>
  
  <p>Thanks !</p>
  
  <p>The data I need to display is a the Product Name, the Product Description and the Product Selling Price underneath headings with those names thats all.</p>