See Also

IRange Interface  | IRange Members  | GetDataFlags Enumeration  | GetDataSet Method  | CopyFromDataTable Method

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

flags
Specifies optional features such as column headers and formatted text values.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

GetDataTable Method

SpreadsheetGear Namespace > IRange Interface : GetDataTable Method

Returns a newly created data table from the cells referred to by this IRange.

[Visual Basic]
Overridable Function GetDataTable( _    ByVal flags As GetDataFlags _ ) As DataTable
[C#]
virtual DataTable GetDataTable(    GetDataFlags flags );
[C++]
virtual DataTable GetDataTable(    GetDataFlags flags )
[C++/CLI]
virtual DataTable GetDataTable(    GetDataFlags flags )

Parameters

flags
Specifies optional features such as column headers and formatted text values.

Return Type

A data table for the cells referred to by the current IRange.

Example

See live DataTable examples on the live .NET DataGrid` Samples page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IRange Interface  | IRange Members  | GetDataFlags Enumeration  | GetDataSet Method  | CopyFromDataTable Method

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.