Hi,

I have a database table Files with a column Validated type of bit. Default is 0 and when a file is validated the column turn to 1.

In my app I have two discs, a red one for 0 and a green for 1, so I would like to display the disc in a Winform datagrid witch color will depend on that column value.

Thanks in advance,
Jose

Recommended Answers

All 2 Replies

Read MSDN article on - How to: Display Images in Cells of the Windows Forms DataGridView Control.

Hi,

I have a database table Files with a column Validated type of bit. Default is 0 and when a file is validated the column turn to 1.

In my app I have two discs, a red one for 0 and a green for 1, so I would like to display the disc in a Winform datagrid witch color will depend on that column value.

Thanks in advance,
Jose

I forgot to say that I am working on .Net 2003 and SQL Server 2000

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.