How to replace image in database that is in gridview..

Check these links link1.....link2 these two links contains coding examples of the same problem as you have btw code to load image in datagridview is

DataGridViewImageColumn co = new DataGridViewImageColumn();
Bitmap bmp = new Bitmap(file);
co.Image = bmp;
DataGridViewImageColumn img = new DataGridViewImageColumn();
Image image = bmp;
img.Image = image;
datagridview1.Columns.Add(img);
img.Name = "img";

why you want to replace a image''
i which scenario you want to change
plz explain

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.