## <sasads:DataSet>

The DataSet Custom Tag allows the user to access information from a SAS data set within a JSP page.

### Syntax

`<sasads:DataSet
[columnInfoUsed="NAME|LENGTH|TYPE|LABEL|FORMAT|INFORMAT"]
[connection="java.lang.String"]
[connectionObject="com.sas.rmi.Connection"]
[dataSet="java.lang.String"]
[displayedColumnsArray="java.lang.String"]
[displayedColumns="java.lang.String"]
[entry="java.lang.String"]
[id="value"]
[indexColumn="int"]
[instantiate="true|false"]
[levelColumn="int"]
[locale="java.util.Locale"]
[readOnly="true|false"]
[ref="java.lang.String"]
[rootText="java.lang.String"]
[scope="java.lang.String"]
[source="java.lang.String"]
[textColumn="int"]
[where="java.lang.String"] />`

### Attributes

`columnInfoUsed` | Sets the column information to be returned as the column label
`connection` |
`connectionObject` |
`dataSet` | Sets the dataset to bind this interface to
`displayedColumnsArray` | Sets which columns in the model are displayed, or returned to the user
`displayedColumns` | A String indicating which columns to be returned. Each column specified should be separated by a space.
`entry` | Sets the name of the dataform entry associated with the model
`id` | Case-sensitive name used to identify the object instance.
`indexColumn` | Sets the index column index in the dataset
`instantiate` |
`levelColumn` | Sets the level column index in the dataset
`locale` |
`readOnly` | Sets the dataset to read only or editable
`ref` |
`rootText` | Sets the root node text that will be used when the DataSetInterface is the model for a tree
`scope` |
`source` | Sets the name of the SCL source entry associated with the model
`textColumn` | Sets the text column index in the dataset
`where` | Sets the where clause to apply to the dataset

### More Information

To view the documentation for the related InformationBean, see com.sas.sasserver.dataset.DataSetInterface.

If you need to subclass the tag handler class for the sasads:DataSet tag, extend com.sas.taglib.sasserver.dataset.DataSetTag.