VegaRise.NET
Back to Table

FromDataTableMethod

Definition

Namespace
DOM.Elements.TableElements
Assembly
DOM.dll

Creates a instance from a . Table, DataTable

Table FromDataTable(DataTable dataTable, bool includeHeaders, TableStyle style)

Parameters

dataTable
The source containing rows and columns to populate the table. DataTable
includeHeaders
If, a header row will be created using the column names from the collection. Columns
style
An optional to apply to the created table. TableStyle

Returns

Table

A populated containing the data from the specified . Table, DataTable

Exceptions

  • System.ArgumentNullException: Thrown when is . dataTable

Remarks

All cell values are converted to strings using . Null values are converted to empty strings. ToString

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.