ComponentOne Query 8.0
LoadFromXML Method

Syntax

C1QueryFrame.LoadFromXML(XMLString)

Notes

Method applies to C1QueryFrame control.

Arguments

XMLString is a string defining a query, the contents of a C1QueryFrame controls. This string encodes the whole query, all its items. Since it has special format, you must use only strings obtained by a previous call to the SaveToXML method.

Return Value

None

Description

This method reads a query from its string representation and fills the C1QueryFrame control, creating all corresponding items. The previous contents of the C1QueryFrame control are cleared.

Using this method, you can restore queries saved as strings in a database, an XML file, or any other storage, see Maintaining, Saving and Restoring Queries.

After adding, removing and modifying query items, you must call the Render method to update display.

See Also

SaveToXML method

Maintaining, Saving and Restoring Queries

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback