queryAllowed Attribute (adoAdapter Element)

Specifies whether data can be retrieved from the data source through the query method of the data adapter object.

Type

xsf:xdYesNo

Remarks

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

Allowed values are "yes" and "no". The default value is "yes".

Example

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

<xsf:query>
   <xsf:adoAdapter 
      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>
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp