Click or drag to resize
DataHelperGetGuidValue Method (DataRow, String, Guid)
Gets the guid variable from given DataRow.

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

Parameters

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

Return Value

Type: Guid
See Also