private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (dataGridView1.Columns[e.ColumnIndex].Name.Equals("pic"))
{
Image image = Image.FromFile(Application.StartupPath.ToString() + "/test.png");
e.Value = image;
}
}