PgDAC

TVirtualTable.LoadFromFile Method

Loads data from a file into a TVirtualTable component.

Class

TVirtualTable

Syntax

procedure LoadFromFile(const FileName: string; LoadFields: boolean = True; DecodeHTMLEntities: boolean = True);

Parameters
FileName
Holds the name of the file to load data from.
LoadFields
Indicates whether to load fields from the file.
DecodeHTMLEntities
Indicates whether to decode HTML entities from the file.

Remarks

Call the LoadFromFile method to load data from a file into a TVirtualTable component. Specify the file name to load into the dataset as the value of the FileName parameter. This file may be an XML document in ADO-compatible format, JSON format, or in virtual table data format. The file format is detected automatically.

© 1997-2025 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback