Class :CA.Blocks.DataAccess.DataHelper
Namespace :CA.Blocks.DataAccess
Assembly : CA.Blocks.DataAccess.dll
Will get the data value from the row as an DateTime. If the value is null an will be thrown This procedure assumes that the data is an DateTime, if not a cast exception will be thrown.
GetValueFromRowAsDateTime(System.Data.DataRow,System.Int32) | |
GetValueFromRowAsDateTime(System.Data.DataRow,System.Data.DataColumn) | |
GetValueFromRowAsDateTime(System.Data.DataRow,System.String) |
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
columnIndex | System.Int32 |
System.DateTime
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
dc | System.Data.DataColumn |
System.DateTime
Will get the data value from the row as an DateTime. If the value is null an will be thrown This procedure assumes that the data is an DateTime, if not a cast exception will be thrown.
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
sColumnName | System.String |
System.DateTime