Hi All,
I stuck with a trouble... please help me
I have a data grid view in my user control, in which all the fields are textboxes.
I need to show the green color for the particular cell, if the value in the cell is more than 75.
for (int rowsCount = 0; rowsCount < dgvReports.RowCount; rowsCount++)
{
for (int ColsCount = 0; ColsCount < dgvReports.ColumnCount; ColsCount++)
{
int DataFromGrid = Convert.ToInt16(dgvReports.Rows[rowsCount].Cells[ColsCount].Value);
if (DataValueFromGrid > 75)
{
dgvReports.Rows[rowsCount].Cells[ColsCount]
}
}
}