Show / Hide Table of Contents

    DataTableExtensions.ExportXml(this DataTable dataTable, int startRow, int endRow) Method

    .NET Standard 2.x

    Exports data from the DataTable to a Plain Xml string, and specifies the start and end positions of the rows.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public static string ExportXml(this DataTable dataTable, int startRow, int endRow)
    

    Parameters

    startRow System.Int32

    The zero-based index number of the first row in the buffer that you want to export.

    endRow System.Int32

    The zero-based index number of the last row in the buffer that you want to export.

    Returns

    System.String

    Returns the XML string.

    Reference Plain XML.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon