Database Table:
| EmpID | Name | Photo |
| E123 | PRAKASH | E123.JPG |
And after registration Image is saved E:\RegisterPhoto\E123.JPG
I want to display these records with Photo in dataGridview using C# Windows Form Application.
DataGridView:
| Employee No | Employee Name | Photo |
| E123 | PRAKASH | Photo will display |
I use dataGridViewImageColumn but what is the code?
con.open();
SqlDataAdapter da=new SqlDataAdapter ("select * from emp",con);
DataTable dt=new DataTable();
da.Fill(dt);
con.close();
dataGridViewAutoGenerateColumn=false;
dataGridView1.dataSource=dt;
Please solve this problem.

Nilesh ShahRank #42 · 34.2K reputationPosted Dec 5, 2017, 4:15 AM EST
Prakash MondalRank #5,602 · 293 reputationPosted Dec 5, 2017, 7:16 PM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Dec 6, 2017, 8:22 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Dec 5, 2017, 4:44 AM EST