GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ExcelCellToDataTableCellConvertingEventArgs Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Arguments for ExcelCellToDataTableCellConverting event.

    • C#
    • VB.NET
    public sealed class ExcelCellToDataTableCellConvertingEventArgs : EventArgs
    Public NotInheritable Class ExcelCellToDataTableCellConvertingEventArgs
        Inherits EventArgs
    Inheritance:
    System.Object
    System.EventArgs
    ExcelCellToDataTableCellConvertingEventArgs

    Properties

    Action

    Gets or sets the action which will be executed after event, see ExtractDataEventAction.

    • C#
    • VB.NET
    public ExtractDataEventAction Action { get; set; }
    Public Property Action As ExtractDataEventAction
    Property Value
    ExtractDataEventAction

    DataTable

    Gets the destination DataTable

    • C#
    • VB.NET
    public DataTable DataTable { get; }
    Public ReadOnly Property DataTable As DataTable
    Property Value
    System.Data.DataTable

    DataTableColumnIndex

    Gets the destination column index in DataTable.

    • C#
    • VB.NET
    public int DataTableColumnIndex { get; }
    Public ReadOnly Property DataTableColumnIndex As Integer
    Property Value
    System.Int32

    DataTableColumnType

    Gets the destination column type in DataTable.

    • C#
    • VB.NET
    public Type DataTableColumnType { get; }
    Public ReadOnly Property DataTableColumnType As Type
    Property Value
    System.Type

    DataTableValue

    Gets or sets the value which will be inserted into destination DataTable cell.

    • C#
    • VB.NET
    public object DataTableValue { get; set; }
    Public Property DataTableValue As Object
    Property Value
    System.Object

    ExcelCell

    Gets the source ExcelCell.

    • C#
    • VB.NET
    public ExcelCell ExcelCell { get; }
    Public ReadOnly Property ExcelCell As ExcelCell
    Property Value
    ExcelCell

    IsDataTableValueValid

    Gets a value indication whether current DataTableValue can be converted into DataTable cell.

    • C#
    • VB.NET
    public bool IsDataTableValueValid { get; }
    Public ReadOnly Property IsDataTableValueValid As Boolean
    Property Value
    System.Boolean
    Remarks

    If this value is false, you need to set an appropriate DataTableValue before exiting event handler or SpreadsheetException will be thrown.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.