You can capture the ItemDataBound event, inspect the value and set the
DataGridItem object's BackColor property (e.Item.BackColor = ...;
DinoE does all sorts of stunts like this in an article with code:
http://msdn.microsoft.com/library/de...ta01102002.asp
HTH,
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 24 Oct 2004 01:10:10 +1300, "David Freeman"
<no******@mailingspam.com> wrote:
...
"David Freeman" <no******@mailingspam.com> wrote in message
news:uD**************@TK2MSFTNGP12.phx.gbl... Hi There!
Is there any way I can format a specific row?
For example, I want to format the row where customer name is "David" with
yellow background, or bold the text.
How do I accomplish this using DataGrid??
Thanks all in advance!!!
David