Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
5676 | Jul 14,2003 04:29 AM UTC | Jul 14,2003 06:14 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if(e.ColIndex > 0 && e.RowIndex > 0) { try { double dValue = double.Parse(e.Style.Text); if( dValue > 100 ) { e.Style.BackColor = Color.Red; } } catch { } //empty } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.