How to hide the grid lines of a DataGridView?
I have searched the internet but found no solutions on this. Please help, thanks.
How to hide the grid lines of a DataGridView?
I have searched the internet but found no solutions on this. Please help, thanks.
you can also try this one
this.dataGridView1.AdvancedCellBorderStyle.All = DataGridViewAdvancedCellBorderStyle.None;
TableView view = new TableView();
view.HorizontalGridLineThickness = 1;
view.VerticalGridLineThickness = 1;
view.HorizontalGridLineBrush = Brushes.Orange;
view.VerticalGridLineBrush = Brushes.Orange;
dataGridControl.View = view;
try this code.....its very useful #Gawtam