Click or drag to resize
DataGridViewConverterImportFromDataGridView Method
Imports data from DataGridView control into ExcelWorksheet using specified options.

Namespace: GemBox.Spreadsheet.WinFormsUtilities
Assembly: GemBox.Spreadsheet.WinFormsUtilities (in GemBox.Spreadsheet.WinFormsUtilities.dll) Version: 39.3.30.1189
Syntax
public static void ImportFromDataGridView(
	ExcelWorksheet worksheet,
	DataGridView dataGridView,
	ImportFromDataGridViewOptions options
)

Parameters

worksheet
Type: GemBox.SpreadsheetExcelWorksheet
Destination ExcelWorksheet.
dataGridView
Type: System.Windows.FormsDataGridView
Source DataGridView.
options
Type: GemBox.Spreadsheet.WinFormsUtilitiesImportFromDataGridViewOptions
ImportFromDataGridViewOptions.
See Also