title: How display images in datagridview? c#
body: <p>I am developing an application in C # for desktop using Visual Studio Express 2010.</p>
  
  <p>I have a table in MySQL called Products with 3 fields:</p>
  
  <blockquote>
    <p>ID -> Product_Name -> product_image</p>
  </blockquote>
  
  <p>The field <code>product_Image</code> stores the image path in my hard drive (not the image itself)</p>
  
  <p>An example of a record would be:</p>
  
  <blockquote>
    <p>0001 --- Mousepad XYZ ---- c:\images\mousepad.jpg</p>
  </blockquote>
  
  <p>I wonder how fill a <code>datagridview</code> that shows the <code>ID, Produt name, and - especially - the product image</code> for each record in my SQL query.</p>
  
  <p>All the examples I found were used manual data inserts, but I am looking for an example to fill the datagridview with data from a SQL query, not a manual insertion. </p>
  
  <p>Edit:</p>
  
  <p>Thank you for help, but could not directly apply the solutions.</p>
  
  <p>I already have a datagridview on my form, I have no need to create in runtime.</p>
  
  <p>I need something like that (I'll write a generic way)</p>
  
  <pre><code>returnMySQL = "select * from products";
  
  while (returnMySQL)
  {
      fill datagrid with ID, product name, product image
  }
  </code></pre>