DataHelperGetDataRowValue Method |
Returns the value from the DataRow field, or DBNull.Value if the field does not exist in the datarow.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static Object GetDataRowValue(
DataRow dr,
string columnName
)
Parameters
- dr
- Type: System.DataDataRow
DataRow with the data - columnName
- Type: SystemString
Column name
Return Value
Type:
ObjectSee Also