DateFormat Property (OracleLoaderColumn)
Gets or sets date format of the
OracleLoaderColumn.
public string DateFormat {get; set;}
'Declaration
Public Property DateFormat As String
Property Value
The date format into which loaded data will be converted.
The following example creates an
OracleLoaderColumn and sets
DateFormat property.
public void CreateOraLoaderColumn(OracleLoader loader)
{
...
OracleLoaderColumn column = new OracleLoaderColumn("hiredate", OracleDbType.Date);
column.DateFormat = "DD-MON-YYYY";
...
}
Public Sub CreateOraLoaderColumn(loader as OracleLoader)
...
Dim column As OracleLoaderColumn = new OracleLoaderColumn("hiredate", OracleDbType.Date)
column.DateFormat = "DD-MON-YYYY"
...
End Sub 'CreateOraLoaderColumn