Data binding in WPF
-
In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?
-
In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?
The databinding in WPF is completely different to Winforms, but much better once you get the hang of it and one of the principle reasons I prefer WPF. I suggest you look for resources on WPF databinding, because with the improved power comes more complexity. Moving Toward WPF Data Binding One Step at a Time[^] by Josh Smith is a very good place to start. [Edit] You should also look up MVVM with WPF once you've got the binding down, it will make life much easier.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
In windows forms application we used to add a data source to the application and then dragged & dropped the fields to the application, that worked fine. I tried the same in the WPF app but it's not dragging it there on the window. Can we use the windows form data binding method in wpf or is there any other procedure?