DataGridView Default Error Dialog[求助]
点击DataGridView报错,提示框:DataGridView Default Error Dialog
The following exception occurred in the DataGridView
system.IndexOutOFrangeException: Index 54 does not have a value
at System.Windows.Forms.CurrencyManager.get_Item(Int32 index)
at System.Windows.Forms.DataGridView.DataGridViewDataConnection.GetError(Int32 rowIndex)
To replace this default dialog please handle the DataError event
网上找了半天没有可行的方法