Load the DataBind definitions from a ListBuilder generated XML file.
A DataBind subscription is started with the call parameters and the DataBinds for the
items defined in the XML file.
Syntax
Parameters
- parent
- The object that owns the bound controls. This is used to thread
synchronise the access to Windows.Forms controls. In DataBinds to other objects this
parameter is not used.
- fileName
- Name of the XML file. The name is used as a full path name if
it starts with \xx or x:xx . Otherwise the file is loaded from the application directory.
For Windows form applications this is the directory with the exe file.
For ASP.NET application it is the web directory with the .aspx file.
- listName
- Name of the DataBind list in the XML file.
- links
- Array with definitions to link a DataBind definition to an object
in the user application. Object references need to be assigned at run-time.
A DataBind can be linked to only one object and the property definitions in the
DataBind definition must match the type of the object.
- refreshRate
- Server update rate for poll/callback DataBind handling
- localeID
- Locale ID for error text. The default is "en"
- binds
- Array with the created DataBind definitions.
- Errors
- Array with error code/text indicating erros at establishing the DataLink
for an item. Null (Nothing) indicates success.
Requirements
Target Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family
>
See Also