Hi, in datagrid how to count the number of records?
Datagrid.????
Printable View
Hi, in datagrid how to count the number of records?
Datagrid.????
Try this :
VB Code:
MessageBox.Show(DataGrid1.VisibleRowCount())
It's work. Thank you beri much...
Dim numRows as Integer = i dataGridDetails.BindingContext(dataGridDetails.DataSource, dataGridDetails.DataMember).Count