How do I fill a color fo range of selcted cell?
Visual Basic
2
Posts
2
Posters
1
Views
1
Watching
-
Praveen
-
Praveen
Okay here is the method how to set background color for selected cells in a datagridview control. :wtf: DataGridView1.SelectionMode = DataGridViewSelectionMode.CellSelect Dim I As Int32 = 0 For I = 1 To DataGridView1.SelectedCells.Count DataGridView1.SelectedCells(I).DataGridView.BackgroundColor = Color.Aqua Next
What a curious mind needs to discover knowledge is noting else than a pin-hole.