private static void OleDbConnection_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e)
 {
     foreach (System.Data.OleDb.OleDbError r in e.Errors)
     {
         if (OleDbErrorList == null)
         {
             OleDbErrorList = new List<System.Data.OleDb.OleDbError>();
         }
         OleDbErrorList.Add(r);
     }
 }
Example #2
0
        private void _DBConnection_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e)
        {
            string MESSAGE = "";

            MESSAGE = "[ Source : " + e.Source + "] ,  [ Error Code : " + System.Convert.ToString(e.ErrorCode) + "] , [ Message :  " + e.Message + "]";
            try
            {
                if (InfoMessageReceivedEvent != null)
                {
                    InfoMessageReceivedEvent(MESSAGE);
                }
            }
            catch (Exception)
            {
            }
        }
Example #3
0
 private void oleDbConnection1_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e)
 {
 }
Example #4
0
 private void conexion_InfoMessage(object sender, System.Data.OleDb.OleDbInfoMessageEventArgs e)
 {
 }