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

  • Two-way data binding allows for both reading from and writing to the data source, whereas one-way data binding only allows reading from the data source.
  • Two-way data binding allows for reading from the data source only, whereas one-way data binding allows for both reading from and writing to the data source.
  • Two-way data binding allows reading from the data source only, whereas one-way data binding allows reading from and writing to the data source.
  • Two-way data binding is not supported in ADO.NET, whereas one-way data binding allows reading from the data source only.
Two-way data binding in ADO.NET enables synchronization between the UI controls and the underlying data source in both directions, meaning changes made in the UI reflect in the data source and vice versa. One-way data binding, on the other hand, allows changes in the data source to be reflected in the UI controls but doesn't synchronize changes made in the UI back to the data source. Understanding the difference between these two modes of data binding is crucial for effective data manipulation and updating in ADO.NET.
Add your answer
Loading...

Leave a comment

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