GetValueFromRowAsNullLong

Method GetValueFromRowAsNullLong Method

Class :CA.Blocks.DataAccess.DataHelper

Namespace :CA.Blocks.DataAccess

Assembly : CA.Blocks.DataAccess.dll

Will get the data value from the row as a nullable long. The return value will be set to either null or the long value This procedure assumes that the data is an long, if not a cast exception will be thrown.

Overloads

StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.String)
StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.Int32)
StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.Data.DataColumn)
StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.String)

Will get the data value from the row as a nullable long. The return value will be set to either null or the long value This procedure assumes that the data is an long, if not a cast exception will be thrown.

Parameters
NameTypeDescription
drSystem.Data.DataRow
sColumnNameSystem.String
Returns

System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.Int32)

Parameters
NameTypeDescription
drSystem.Data.DataRow
columnIndexSystem.Int32
Returns

System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

StaticGetValueFromRowAsNullLong(System.Data.DataRow,System.Data.DataColumn)

Will get the data value from the row as a nullable long. The return value will be set to either null or the long value This procedure assumes that the data is an long, if not a cast exception will be thrown.

Parameters
NameTypeDescription
drSystem.Data.DataRow
columnSystem.Data.DataColumn
Returns

System.Nullable`1[[System.Int64, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]