title: How to load images in datagridview with sql and c#
body: <p>I am developing an application with C#
  I have a database with table called Resuktats with 6 fields:</p>
  
  <pre><code>logo_imageA -&gt; teamA -&gt; scoreA -&gt; scoreB -&gt; teamB -&gt; logoB
  </code></pre>
  
  <p>The field logo_Image stores the image path in my hard drive  </p>
  
  <p>An example of a record would be:</p>
  
  <pre><code>C:\imageA.png -- teamA -- 2 -- 3 -- teamB -- C:\imageB.png
  </code></pre>
  
  <p>I wonder how fill a datagridview that shows the name foreach team and the result and especially - logo image for each team in my database sql.</p>
  
  <p>i have trying this code:</p>
  
  <pre><code>        private void button1_Click(object sender, EventArgs e)
      {
  
          int number_of_rows = dgv_calendrier.RowCount;
          for (int i = 0; i &lt; number_of_rows; i++)
          {
              //DataGridViewImageColumn dataGridViewColumn = new DataGridViewImageColumn();
  
                  if (dgv_calendrier.Rows[i].Cells[1].Value.ToString() == "true")
                  dgv_calendrier.Rows[i].Cells["logo_dom"].Value = 
  
  
      }
  </code></pre>
  
  <p>}</p>
  
  <p>a print screen of the execution of my sql query:</p>
  
  <p><img src="https://i.stack.imgur.com/R0Edk.png" alt=""></p>