Print Page | Close Window

Changing Background color in a Datagrid c

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=2956
Printed Date: 29 March 2026 at 6:49pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Changing Background color in a Datagrid c
Posted By: pnp!
Subject: Changing Background color in a Datagrid c
Date Posted: 22 May 2003 at 3:27pm

I've a datagrid boundcolumn, and I want to change ONE CELL'S content according to the content (ie: if the cell has some data, it's showed in red, if it has no data, it's in white).

<asp:BoundColumn DataField="FFTarjetas" SortExpression="FFTarjetas" HeaderText="FF # Tarj"></asp:BoundColumn>

Do someone know how to do it?

thks in advance!...




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net