.NET has many class libraries and features. An application built on .NET framework has to communicate to the data source. Data Binding provides the facility for the application and provides the relation with the data source.
As written in Wikipedia, 'Data Binding is the process which establishes a connection between UI and Business Logic'. A Data Binding has has typically 4 components:
- Target Object for Binding
- Target Property
- Binding Source
- Path of Binding source.
There are two types of Data Binding:
Till next post
Happy Smartplanting
- Early Binding - Also known as Static Binding. As soon as object is created, the method is called. Hence the compiler is aware of binding. The binding results are compiled in the program and is ready available.
- Late Binding - Or Dynamic Binding. The object is created, but the method isn't assigned. The method is assigned at runtime. Advantage of late binding is that the COM doesn't need the compiler to reference the library that contains the object at compile time.
Till next post
Happy Smartplanting
No comments:
Post a Comment