6 references to DataBoundRowsCount
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (6)
341Debug.Assert(DataBoundRowsCount() == CurrencyManager!.List!.Count || (_owner.Columns.Count == 0 && dataGridViewRowsCount == 0), 442while (DataBoundRowsCount() < CurrencyManager!.Count); 488Debug.Assert(DataBoundRowsCount() != -1, "the data bound data grid view rows count should be at least 0"); 552if (CurrencyManager.List.Count == DataBoundRowsCount()) 721CurrencyManager.Count == DataBoundRowsCount() + 1) // condition 6. 1394Debug.Assert(DataBoundRowsCount() == CurrencyManager.List!.Count, "if the back end was changed while in AddNew the DGV should have updated its rows collection");