Question Display image or icons in cells of datagrid

Status
Not open for further replies.

aksharma

New member
Joined
Sep 12, 2015
Messages
3
Programming Experience
3-5
Hi Everyone.

I have a winform datagridview with 8 rows and 5 columns that contains number data like 1,3,9 values randomly in cells. My question is I want to show icons/images in place of this values.I have 3 images for three values stated above 1,3, and 9. I want this to be done on selection of radio btns and then when images displayed I can toggle them back with values in cells.

In short there are two radio buttons - Show Values and Show Icons
When show icons selected grid values should be replaced by their respective images.
And When Show values selected, Values are shown in place of images.

How can i do it as most of the code i saw creates new columns and then disp images.

Pl. Help
 
Last edited:
For future reference, please post in the most specific forum appropriate to your topic and be specific with information provided. When you say "datagrid", do you mean a WinForms DataGrid, a WPF DataGrid, a Web Forms DataGrid, a WinForms DataGridView, a Web Forms GridView or something else?
 
Status
Not open for further replies.
Back
Top