The RemoveAt method was designed to allow complex controls, such as the DataGrid control, to remove items from the list. You should not use this method to actually remove items. Instead, use the Delete method of the DataView class to delete items.
// Get the CurrencyManager of a TextBox control.
CurrencyManager myCurrencyManager = (CurrencyManager)textBox1.BindingContext;
// If the count is 0, exit the function.if(myCurrencyManager.Count > 1)
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2