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