public static void SetRowValue(ref DataGridViewRow row, EColumns col, string obj) { try { row.Cells[col.ToString()].Value = obj; } catch { } }