We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

change the row color in windows datagrid control

Thread ID:





4491 May 15,2003 07:27 AM Mar 29,2004 03:36 PM Windows Forms 2
Tags: FAQ
Asked On May 15, 2003 07:27 AM

I have populated a datagrid from a dataset -- then if a specific column has a negative value, then I want all the rows with that value to be red in color - how do I change the row color based on a column value condition?

Replied On May 20, 2003 03:35 PM

http://www.codeproject.com/useritems/CustomDataGridsAndDesigne.asp Hope that helps. -S

Replied On March 29, 2004 03:36 PM

This is exactly what I'm attempting to do as well, in VB.NET.... I don't suppose you know of a VB.NET project or ideas concerning this that I could download from somewhere? Any help would be fantastic here. > http://www.codeproject.com/useritems/CustomDataGridsAndDesigne.asp > > Hope that helps. > -S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.