SpreadsheetGear 2023
GetDataSet(String,GetDataFlags) Method


SpreadsheetGear Namespace > IWorkbook Interface > GetDataSet Method : GetDataSet(String,GetDataFlags) Method
a comma separated list of ranges.
Specifies optional features such as column headers and formatted text values.
Returns a newly created data set consisting of a data table for each of the ranges specified by reference.
Syntax
'Declaration
 
Overloads Function GetDataSet( _
   ByVal reference As System.String, _
   ByVal flags As GetDataFlags _
) As System.Data.DataSet
'Usage
 
Dim instance As IWorkbook
Dim reference As System.String
Dim flags As GetDataFlags
Dim value As System.Data.DataSet
 
value = instance.GetDataSet(reference, flags)
System.Data.DataSet GetDataSet( 
   System.string reference,
   GetDataFlags flags
)

Parameters

reference
a comma separated list of ranges.
flags
Specifies optional features such as column headers and formatted text values.

Return Value

the newly created data set.
Remarks

Each reference must consist of a defined name or a range reference such as:

Example
See examples here.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkbook Interface
IWorkbook Members
Overload List