How do I determine if a DetailTable is alternating? I have the following line of C# code which colors the correct area of the DetailTables, but I need it to color every other one instead of all of them:
I've tried putting the above statement in various if statements, but cannot get it to work properly. I sincerely appreciate any help!
item.OwnerTableView.DetailTables.OwnerGrid.BackColor = System.Drawing.Color.BlueViolet;
I've tried putting the above statement in various if statements, but cannot get it to work properly. I sincerely appreciate any help!