name attribute (adoAdapter element)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

name attribute (adoAdapter element)

Office 2007

Contains the name of the adoAdapter element.

Type

xsf:xdTitle

Parent Elements

ElementDescription
adoAdapterDefines an ActiveX Data Objects (ADO) data adapter that retrieves data from an ADO data source for the specified data object.

Definition

<xsd:attribute name="name" type="xsf:xdTitle" use="optional" ></xsd:attribute>

Remarks

The name attribute is an optional attribute of the adoAdapter element.

Example

The following is an example of the name attribute as it is used in the adoAdapter element:

<xsf:query>
   <xsf:adoAdapter name="EmpInformation"
      connectionString="Provider=Microsoft.Jet.OLEDB.4.0;
         Password=&quot;&quot;;User ID=Admin;
         Data Source=infnwind.mdb;Mode=Share Deny None;
         Extended Properties=&quot;&quot;;..."
      commandText="select [EmployeeID],[LastName],[FirstName] 
         from [Employees] as [Employees]" 
      queryAllowed="yes"
      submitAllowed="yes">
   </xsf:adoAdapter>
</xsf:query>


Show:
© 2016 Microsoft