How to find the number of rows in a datagrid
Visual Basic
5
Posts
3
Posters
0
Views
1
Watching
-
Hello, how can i find out the number of rows in a datagrid. Thanx, chitranjan more dash than cash!!!
-
Hello, how can i find out the number of rows in a datagrid. Thanx, chitranjan more dash than cash!!!
-
after binding the datagrid use this
Dim i As Integer i = DataGridView1.DisplayedRowCount(True) MsgBox(i)
abhinavhere is datagridview1 the name of the datagrid?my datagrid does not have the property displayrowcount at all. more dash than cash!!!
-
here is datagridview1 the name of the datagrid?my datagrid does not have the property displayrowcount at all. more dash than cash!!!
-
the method suggested by abhinish is the only way to do it in vs.net 2003. With Best Regards, Mayur