GetDatetimeFromDataRow Method
- Last UpdatedNov 06, 2025
- 1 minute read
Convert and return the specified field of the supplied System.Data.DataRow as a DateTime If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value.
| Overload | Description |
|---|---|
| GetDatetimeFromDataRow(DataRow,String,DateTime) | Convert and return the specified field of the supplied System.Data.DataRow as a DateTime If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
| GetDatetimeFromDataRow(DataRowView,String,DateTime) | Convert and return the specified field of the supplied System.Data.DataRowView as a bool If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
| GetDatetimeFromDataRow(DataRow,String,Nullable<DateTime>) | Convert and return the specified field of the supplied System.Data.DataRow as a DateTime If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |
| GetDatetimeFromDataRow(DataRowView,String,Nullable<DateTime>) | Convert and return the specified field of the supplied System.Data.DataRowView as a bool If the value is a DB Null or the column does not exist or it doesn't convert to the specified type then return the specified default value. |