private void dgvMain_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if ((e.ColumnIndex == 0) && (e.RowIndex >= 0)) { ... }
dgvMain.Columns["ID"].Visible = false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)