Wednesday, 21 August 2013

How to change DataGridView column value based on condition in C#

How to change DataGridView column value based on condition in C#

Is it possible to change the column value or cell value based on the
Condition.

Consider i am having 3 columns in a data-grid view (i.e) to find the
greatest of two number

The input from Data gird view is got from SQL Server
1.First Data grid view column is A and second one is B and 3rd column is
to find whether A is bigger than B or not. if the condition satisfies it
should display the text "TRUE" or else "FALSE" in 3rd Column

No comments:

Post a Comment