Click or drag to resize
DataHelperGetStringValue Method (DataRow, String, String)
Gets the string variable from given DataRow.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static string GetStringValue(
	DataRow dr,
	string columnName,
	string defaultValue = ""
)

Parameters

dr
Type: System.DataDataRow
DataRow with the data
columnName
Type: SystemString
Column name
defaultValue (Optional)
Type: SystemString
Default value

Return Value

Type: String
See Also