I have this DataGridView
| 1 | Beef1 | Drink1 |
| 2 | Beef2 | Drink2 |
| 3 | Beef3 | Drink3 |
But now I want it to become like this by hiding "Beef3":
| 1 | Beef1 | Drink1 |
| 2 | Beef2 | Drink2 |
| 3 | Drink3 |
I'm only aware of how to hide row and columns which is
- dataGridView1.Columns[Index].Visible = false;
- dataGridView1.Rows[Index].Visible = false;

Bhuban MagarRank #1,679 · 909 reputationPosted Aug 5, 2019, 3:07 AM EDT
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 11, 2019, 1:40 AM EDT
Munish KumarRank #3,278 · 438 reputationPosted Jul 11, 2019, 12:42 AM EDT