![]() These controls can bind to an array list or fields from a database. Simple data binding involves the read-only selection lists. The controls capable of declarative data binding (a more complex data binding) are derived from the abstract class CompositeDataBoundControl. The controls capable of simple data binding are derived from the ListControl abstract class and these controls are: The abstract class DataBoundControl is again inherited by two more abstract classes: The BaseDataBoundControl is an abstract class, which is inherited by two more abstract classes: The data source controls help the data-bound controls implement functionalities such as, sorting, paging, and editing data collections. These controls derive from the BaseDataBoundControl class. On the other hand, some controls can bind records, lists, or columns of data into their structure through a DataSource control. Simple data binding involves attaching any collection (item collection) which implements the IEnumerable interface, or the DataSet and DataTable classes to the DataSource property of the control. This is known as simple data binding or inline data binding. Every ASP.NET web form control inherits the DataBind method from its parent Control class, which gives it an inherent capability to bind data to at least one of its properties. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |