vendredi 27 février 2015

Display picture in gridview column c#

I have a bounded griview1 and I add it a Column as repositoryItemImageEdit1


Im trying to display a picture with the path string



DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;


Image img= Image.FromFile("\\path"); view.SetRowCellValue(rowindex, view.Columns["photo"], img);

Aucun commentaire:

Enregistrer un commentaire