Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27360

problem in set the Visible property of the first row of a datagridview to false

$
0
0
hi
i have a DataGridView in my form .its datasource is a DataTable .i want to set the first row's visible property to false
i use this command :

Code:

dgv.CurrentCell = Nothing
dgv.Rows(0).Visible = False

program run without any error but the first row remain visible.
only this row has this problem . if i select another row and set visibility to false it;s not has any problem .
please help me about it .

Viewing all articles
Browse latest Browse all 27360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>