AsString

Method AsString Method

Class :CA.Blocks.DataAccess.IDataReaderExtensions

Namespace :CA.Blocks.DataAccess

Assembly : CA.Blocks.DataAccess.dll

Overloads

StaticAsString(System.Data.IDataReader,System.String,System.Boolean)
StaticAsString(System.Data.IDataReader,System.Int32,System.Boolean)
StaticAsString(System.Data.IDataReader,System.String,System.Boolean)

Parameters
NameTypeDescription
drSystem.Data.IDataReader
colNameSystem.String
returnNullAsEmptyStringSystem.BooleanOptional
Returns

System.String

StaticAsString(System.Data.IDataReader,System.Int32,System.Boolean)

Parameters
NameTypeDescription
drSystem.Data.IDataReader
columnIndexSystem.Int32
returnNullAsEmptyStringSystem.BooleanOptional
Returns

System.String