MyDAC

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 name of the file to load into the field as the value of the FileName parameter.This file may be an XML document in ADO-compatible format or in virtual table data format. The file format is detected automatically.

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