FillErrorEventHandler serializable

FillErrorEventHandler serializable

System.Data (system.data.dll) delgate

This delegate represents the method that will handle the System.Data.Common.DbDataAdapter.FillError event. This error can occur for many reasons: for example, if the data can't be converted into a CLR data type without losing precision or an enforced constraint is violated. The System.Data.Common.DbDataAdapter.FillError event allows the user to decide whether the fill operation should continue after the error occurs. A System.Data.Common.DbDataAdapter.FillError event isn't fired if the error occurs at the data source. If you don't handle the System.Data.Common.DbDataAdapter.FillError event, a System.InvalidCastException is thrown.

 public delegate void  FillErrorEventHandler  (object   sender   , FillErrorEventArgs   e   ); 

Associated Events

System.Data.Common.DbDataAdapter.FillError( ) , System.Data.OleDb.OleDbDataAdapter.FillError( ) , System.Data.OracleClient.OracleDataAdapter.FillError( ) , System.Data.SqlClient.SqlDataAdapter.FillError( )



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net