Return the DataView from different data source.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Function DataSourceToDataView ( _
	dataSource As Object, _
	tableName As String _
) As DataView
C#
public static DataView DataSourceToDataView(
	Object dataSource,
	string tableName
)

Parameters

dataSource
Type: System..::..Object
tableName
Type: System..::..String

Return Value

See Also