G Guest Sep 19, 2005 #1 Hi, which method or property in the DataGrid returns the number of rows in it!!!?
C Chris Sep 19, 2005 #2 John said: Hi, which method or property in the DataGrid returns the number of rows in it!!!? Click to expand... You have to get it from the datasource. If your datasource is a DataTable then: DirectCast(Datagrid.DataSource, DataTable).Rows.Count otherwise replace DataTable with whatever type is in the datasource. Chris
John said: Hi, which method or property in the DataGrid returns the number of rows in it!!!? Click to expand... You have to get it from the datasource. If your datasource is a DataTable then: DirectCast(Datagrid.DataSource, DataTable).Rows.Count otherwise replace DataTable with whatever type is in the datasource. Chris