DBExecution readItemSafe Method (DbDataReader , String)DataBaseExecutors
Get item value by name (handle DbNull as String.Empty).

Namespace: DataBaseExecutors
Assembly: DataBaseExecutors (in DataBaseExecutors.dll) Version: 1.0.1.3 (1.0.1.3)
Syntax

[ObsoleteAttribute("Please use DbDataReader Extension GetStringOrDefault")]
public static string readItemSafe(
	ref DbDataReader reader,
	string colName
)

Parameters

reader
Type: System.Data.Common DbDataReader 

[Missing <param name="reader"/> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]

colName
Type: System String

[Missing <param name="colName"/> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]

Remarks

See Also