private void BindingSource_DataError(object sender, BindingManagerDataErrorEventArgs e) { MessageBox.Show("Binding Exception: " + e.Exception.Message); }
/* * private void bsLikmes_MyBeforeRowInsert(MyRowUpdateEventArgs e) * { * var dr = e.DataRow as KlonsADataSet.RATESRow; * if (dr == null) return; * dr.ID = (int)MyData.KlonsQueriesTableAdapter.SP_RATES_ID(); * } */ private void bsLikmes_DataError(object sender, BindingManagerDataErrorEventArgs e) { Form_Error.ShowException(e.Exception); }
private void genreBindingSource_DataError(object sender, BindingManagerDataErrorEventArgs e) { MessageBox.Show("Invalid Entry"); }
private void BindingListViewOnUnhandledException(object sender, BindingManagerDataErrorEventArgs args) { OnDataError(args); }
private void bindingSource1_DataError(object sender, BindingManagerDataErrorEventArgs e) { //here! }
private void bS2_DataError(object sender, BindingManagerDataErrorEventArgs e) { MessageBox.Show(this, "DataError bS2 : " + e.Exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); }