Vlad Alexei

Vlad Alexei

  • NA
  • 10
  • 9.5k

How to hide data of a specific cell in Datagridview

Jul 11 2019 4:16 AM
I have this DataGridView 
 1Beef1 Drink1
 2Beef2 Drink2
 3Beef3 Drink3
 
But now I want it to become like this by hiding "Beef3":
 
1 Beef1 Drink1
2Beef2 Drink2
3
Drink3
 
I'm only aware of how to hide row and columns which is 
  1. dataGridView1.Columns[Index].Visible = false;  
  2. dataGridView1.Rows[Index].Visible = false;  
but not sure if it's possible for an individual cell. 
 

Answers (3)