What is two-way data binding, and how does it differ from one-way data binding?

  • It allows data to flow only from the UI control to the data source.
  • It allows data to flow only from the data source to the UI control.
  • It enables synchronization of data between the UI control and data source.
  • It involves no synchronization between the UI control and data source.
Two-way data binding facilitates bidirectional communication between the UI control and the data source. Changes made in the UI control are reflected in the data source, and vice versa. In contrast, one-way data binding allows data to flow in only one direction, either from the data source to the UI control or vice versa, but not both simultaneously.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *