Exemplo n.º 1
0
 private void BindingSource_DataError(object sender, BindingManagerDataErrorEventArgs e)
 {
     MessageBox.Show("Binding Exception: " + e.Exception.Message);
 }
Exemplo n.º 2
0
        /*
         * 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);
        }
Exemplo n.º 3
0
 private void genreBindingSource_DataError(object sender, BindingManagerDataErrorEventArgs e)
 {
     MessageBox.Show("Invalid Entry");
 }
Exemplo n.º 4
0
 private void BindingListViewOnUnhandledException(object sender, BindingManagerDataErrorEventArgs args)
 {
     OnDataError(args);
 }
Exemplo n.º 5
0
 private void bindingSource1_DataError(object sender, BindingManagerDataErrorEventArgs e)
 {
     //here!
 }
Exemplo n.º 6
0
 private void bS2_DataError(object sender, BindingManagerDataErrorEventArgs e)
 {
     MessageBox.Show(this, "DataError bS2 : " + e.Exception.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
 }