Coloring in particular cells using data grid foreach (DataGridViewRow dataGridViewRow in dataGridView1.Rows) { DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle(); dataGridViewCellStyle.ForeColor = Color.Red; if (dataGridViewRow.Cells[2].Value != null) { if (dataGridViewRow.Cells[2].Value.ToString().Trim().Equals("M", StringComparison.CurrentCultureIgnoreCase)) { dataGridViewRow.DefaultCellStyle = dataGridViewCellStyle; } } }
ERP Project Management,Asp.net,PL SQL Tips for error resolution,Research,Software Errors and solution,SQL 2014,2012,2008,Procedural language,SP,Power BI,excel macro ,Musical notations,Business software,Degree, diploma related informations.