Click or drag to resize
BaseExtensionsAsDataContainer Method
Converts a DataRow to IDataContainer. Returns null if the original data row is null.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public static IDataContainer AsDataContainer(
	this DataRow dr
)

Parameters

dr
Type: System.DataDataRow
Data row

Return Value

Type: IDataContainer

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataRow. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also