I am trying to read a table from SQL containing 8 columns with values from 1 to 3, and if the value in a cell is 1, the i want the datagridview to show image 1 in the cell as a replacement for the integer value of 1, if the value is 2, then show image 2 etc.
Is there an easy solution for converting from integer to image?
What I have tried:
I have read the data from SQL into a dataadapter and dataset and bound that to the datagridview, not sure that is the way to go. Maybe i should replace when in the dataset, before filling the datagrid?