CreateListFromDataTable Method (Language)
- Last UpdatedNov 06, 2025
- 1 minute read
The CreateListFromDataTable() method creates a list of language objects populated with the data from the specified DataTable.
'Declaration
Public Shared Function CreateListFromDataTable( _
ByVal dt As DataTable _
) As BindingList(Of Language)
'Usage
Dim dt As DataTable
Dim value As BindingList(Of Language)
value = Language.CreateListFromDataTable(dt)
public static BindingList<Language> CreateListFromDataTable(
DataTable dt
)
Parameters
- dt
- Required. Holds the DataTable that contains the data for populating the list.
Return Value
Returns a list of language objects.