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
Anthony ClarkePosted Jun 7, 2011, 9:42 AM
Suthish NairPosted Jun 7, 2011, 1:55 AM
Also, do a line by line debug and check why not the color getting updated.