Hi,
I get this error :
Error is on this line:Code:Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
I have a datagrid, i have a delete and update buttons. This error occurs on both of these events. SOmething to do with returning the row number. It worked earlier, i didn't change anything???Code:string rowID; rowID = DataGridSpirits.DataKeys[e.Item.ItemIndex].ToString();
Any help greatly appreciated.




Reply With Quote