![]() Integration of the ASP.NET code with the results of properties, collection, method calls and database queries is made possible using data binding. ![]() ![]() The moment there is any change in the value assigned to the variables the UI elements are instructed to reflect the change instantly. All the UI elements are continuously having an eye on the data variables assigned to them. The difference is if the data binding is not done correctly, then any changes to the data are not automatically reflected on the user interface. Now, one may wonder what is the difference between that and displaying the data on a UI. ![]() Introduction to Data Binding in ASP.NETĭata Binding can be simply understood as a process of establishing a connection between the Application User Interface and the Data.In this blog, we will understand what is Data binding and how to create it in ASP.NET. However, in ASP.NET 2.0 you are provided with several features like sorting, filtering, automatic update, paging, data source controls, etc. In ASP.NET 1.x there was only one powerful data-binding technique that would reduce the length of the written code to bind the data that controls. Databases, XML files, flat files, etc are some of the data sources we are talking about here. The term ‘data binding in ASP.NET simply means that the data that is collected from a source is bound to the controls that provide the read and write connection to the data.
0 Comments
Leave a Reply. |