Row Count And Column Count

hyakie.ikari

New member
Joined
Oct 30, 2006
Messages
3
Location
Bandung Indonesia
Programming Experience
3-5
Hi,
I have Problem to Get Row Count And Column Count Value in Datagrid!
Please Help!
THX!
 
Last edited:
They are both properties of the datagrid view. Here's an example:

Dim RowCount as Integer
Dim ColCount as Integer

RowCount = Me.Datagridview.RowCount
ColCount = Me.Datagridview.ColumnCount
 
Back
Top