I've got a Gridcontrol that is populated by a linq query but my rowstyle event doesnt seem to work.
Here is my code :
private
{
GridView View = sender as GridView;
if (e.RowHandle >= 0)
{
string category = View.GetRowCellDisplayText(e.RowHandle, View.Columns["Creditamount"]);
{
if (category == "Creditamount")
{
e.Appearance.BackColor =
}
But when i load my program the grid control just stays the same colour.
Hope you can help
Thanks
Anthony

Suthish NairRank #92 · 22.8K reputationPosted Jun 6, 2011, 9:55 PM EDT
Also, do a line by line debug and check why not the color getting updated.
Anthony Clarke99 reputationPosted Jun 7, 2011, 5:42 AM EDT