# Overview

**RadSearchBox** supports binding to various data sources, which include:

* [Array, ArrayList](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/binding-to-array-or-arraylist)

* [DataTable, DataSet, DataView](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/binding-to-datatable)

* [ASP DataSource types](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/binding-to-asp-datasource-components)

* [Web Service](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/web-service-binding)

* [WCF Service](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/wcf-service-binding)

* [OData](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/data-binding/binding-to-odata)

## Databinding Properties and Methods

The following properties and methods are used when binding RadSearchBox to a data source.

* **DataSource** property - set to an instance of your data source. This is mandatory when binding RadSearchBox at runtime.

* **DataSourceID** property - set to the ID of your data source. This is mandatory when binding RadSearchBox declaratively.

* **DataTextField** property - field name from the data source bound to the RadSearchBox DropDownItem's **Text** property.

* **DataValueField** property - field name from the data source bound to the RadSearchBox DropDownItem's **Value** property.

* **[DataKeyNames](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/functionality/datakeynames)** property - lists the additional fields of the RadSearchBox DropDownItem that are needed from the DataSource.

* **DataContextKeyField** property - this poperty defines a field from the data source which is used as a context when search operation is performed. It should be used along with the [Search Context](https://www.telerik.com/products/aspnet-ajax/documentation/controls/searchbox/search-context/overview)

* **DataModelID** property is used to set the ModelID when binding RadSearchBox to OData DataSource.
