Fancy interfaces are of little use to most commercial applications if they’re not in some way connected to real data. With Windows Presentation Foundation applications, there are two popular ways to facilitate the binding of the user interface objects to your application’s data stores. One way is the tried and true means of writing a lot of code to manually read and write to the database and perform the exchange between the user interface and your internal variables. For large applications, that approach can be about as efficient as eating Jell-O with chopsticks. The second option involves XAML, which enables you to create a much more elegant and efficient means of binding your application’s interface to the underlying data store.
|