otherside
Centurion
Hi guys,
I need some help with the datagrids. I've spent all day with books forums etc. but i can't find a solution that works.
How is it possible to control the format of every item based on data from a dataset. For example say i have a field called "Result", what i need is if this field is 0 the row to have a background color red if it is 1 green if 2 blue. So what i need is to control some properties from data of a database. Also another example, i have a datagrid with two button columns one pass one fail, but what i need is that the records that have been evaluated not to display these to buttons.
Any ideas or code examples are welcome.
Thanks
I need some help with the datagrids. I've spent all day with books forums etc. but i can't find a solution that works.
How is it possible to control the format of every item based on data from a dataset. For example say i have a field called "Result", what i need is if this field is 0 the row to have a background color red if it is 1 green if 2 blue. So what i need is to control some properties from data of a database. Also another example, i have a datagrid with two button columns one pass one fail, but what i need is that the records that have been evaluated not to display these to buttons.
Any ideas or code examples are welcome.
Thanks