CreateListFromDataSet Method (Language)
- Last UpdatedNov 06, 2025
- 1 minute read
The CreateListFromDataSet() method creates a list of language objects populated with the data from the specified (by name) table within the specified DataSet.
'Declaration
Public Shared Function CreateListFromDataSet( _
ByVal ds As DataSet, _
ByVal tableName As String _
) As BindingList(Of Language)
'Usage
Dim ds As DataSet
Dim tableName As String
Dim value As BindingList(Of Language)
value = Language.CreateListFromDataSet(ds, tableName)
public static BindingList<Language> CreateListFromDataSet(
DataSet ds,
string tableName
)
Parameters
- ds
- Required. Holds the DataSet that contains the data for populating the list.
- tableName
- Required. Holds the name of the DataTable within the DataSet that holds the data to be used for populating the list.
Return Value
Returns a list of language objects.