title: How to retrieve blob image in mysql to datagridview using C#
body: <p>I am using this syntax where the dr.getValue(6) is the blob image from mysql.</p>
  
  <pre><code>public void LoadRecords()
  {
      metroGrid1.Rows.Clear();
      cm = new MySqlCommand("Select * from tblaccnt", cn);
  
      dr = cm.ExecuteReader();
      while (dr.Read())
      {
          metroGrid1.Rows.Add(dr.GetValue(0), dr.GetValue(1), dr.GetValue(2), dr.GetValue(3), dr.GetValue(4), dr.GetValue(5), dr.GetValue(6));
  
      }
  
      dr.Close();
  }
  </code></pre>
  
  <p>But I always end up with Parameter is not valid Exception. Thanks in advance for the help </p>