datagridview vb net hide dynamic columns code example Example: c# datagridview hide column this.dataGridView1.Columns["ID"].Visible = false;