''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( )

    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace