|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
creating image column on the fly based on another column's varchar values.In a datagridview databinding scenario, I would like to replace a
datagridview column's text values with an icon for a better user experience. The problem is that if I select the column value from my table of datatype varchar, that datagridview column value cannot be changed from a textbox cell value to an image cell value after that 'datasource' is bound to the grid. I would like to create an image column in a select statement and databind that. Is there a way to dynamically create an image column dynamically that would have 3 distinct image values?.....the question sounds absurd..I guess I have to create a permanent column with the appropriate image in it before I write the select for that table. -hazz Don't waste your time reading this. I revised my idea and reposted -hazz
Show quote "hazz" <h***@sonic.net> wrote in message news:elvptLrLGHA.3960@TK2MSFTNGP09.phx.gbl... > In a datagridview databinding scenario, I would like to replace a > datagridview column's text values with an icon for a better user > experience. The problem is that if I select the column value from my table > of datatype varchar, that datagridview column value cannot be changed from > a textbox cell value to an image cell value after that 'datasource' is > bound to the grid. I would like to create an image column in a select > statement and databind that. Is there a way to dynamically create an image > column dynamically that would have 3 distinct image values?.....the > question sounds absurd..I guess I have to create a permanent column with > the appropriate image in it before I write the select for that > le. -hazz > |
|||||||||||||||||||||||