0

I'm using a data-grid-view Is there any way which I can delete lines from columns but only in a specific row?

I found this:

dataGridView1.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal;

but it deletes lines from all columns.

Anas Alweish
  • 2,818
  • 4
  • 30
  • 44
Dim
  • 433
  • 1
  • 9
  • 23
  • 1
    [See here](https://stackoverflow.com/questions/52484960/how-can-i-hide-a-specified-cells-that-i-want-in-datagridview/52487741#52487741) ! – TaW Oct 05 '18 at 12:02
  • Thank you for the answer, but how can i handle this with datagridview values? I mean if row[0].Cells[1].Value.ToString()=="1" – Dim Oct 05 '18 at 12:42
  • The code in the link already contains conditions. Simply replace or append your conditions! Try it and report back! – TaW Oct 05 '18 at 13:46

0 Answers0