The Portrate Interview Engine

SQLDataSource.Configure Method 

Reads the XML configuration for this data source. Reads the following elements:

 connectionString: A connection string connectionStringConfigName: The config file variable name for the connection string timeout: The number of seconds until a data set is expired valueColumnName: The name of the value column in the query result data for the returned data set textColumnName: The name of the text column in the query result data for the returned data set query: The query string for getting data results - @template: The templated query string as an attribute to the query element - variable: The data name used to substitute a value for a reference in the query template. Uses the String.Format nomenclature for variables and are processed in order of appearance in the configuration. 

[Visual Basic]
Overridable Public Sub Configure( _ 
   ByVal eConfig As XmlElement _ 
) _
    Implements IXmlConfigurable.Configure
[C#]
public virtual void Configure(
   XmlElement eConfig
);
[C++]
public: virtual void Configure(
   XmlElement* eConfig
);
[JScript]
public virtual function Configure(
   XmlElement eConfig
);

Parameters

eConfig

Implements

IXmlConfigurable.Configure

See Also

SQLDataSource Class | Portrate.Interview.View.Data Namespace