ComponentOne DataObjects for .NET
SetFieldError(Int32,String) Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class > SetFieldError Method : SetFieldError(Int32,String) Method
The index of a field.
The error description.
Sets the error description for a field in the row.
Syntax
'Declaration
 
Public Overloads Sub SetFieldError( _
   ByVal fieldIndex As System.Integer, _
   ByVal errorMsg As System.String _
) 
public void SetFieldError( 
   System.int fieldIndex,
   System.string errorMsg
)

Parameters

fieldIndex
The index of a field.
errorMsg
The error description.
Remarks
See HasErrors for details.
See Also

Reference

C1DataRow Class
C1DataRow Members
Overload List
C1DataRow Class