CreateListFromDataSet Method (StorageExec)
- Last UpdatedNov 06, 2025
- 1 minute read
The CreateListFromDataSet() method creates a list of StorageExec 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 StorageExec)
'Usage
Dim ds As DataSet
Dim tableName As String
Dim value As BindingList(Of StorageExec)
value = StorageExec.CreateListFromDataSet(ds, tableName)
public static BindingList<StorageExec> CreateListFromDataSet(
DataSet ds,
string tableName
)
Parameters
- ds
- Holds the DataSet that contains the data for populating this list.
- tableName
- Contains 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 StorageExec objects.