I have a Datagridview on my Winform project. The Datagridview is populated by data from my database.
I have 3 columns on my database table: id
, name
, status
.
What I want to do is, based on the status string I get from my database ("Online" or "Offline"), I like to put an image in the cell, instead of just displaying a string of either Online or Offline.
ex.:If the status is Online, I'd like to have my designated online image/icon on the cell.
Anyone have ideas how to approach this?