Binding Data to list view from Sql

Posted by Rama Sagar under WPF on 1/9/2013 | Points: 10 | Views : 1757 | Status : [Member] [MVP] | Replies : 1
iam a newbie to WPF i want to know data binding i had a wpf xaml file which consists of 2textboxes,2checkboxes, 1 combobox and a listview and button..when i click on a button the data has to be populated in the list can i achieve this please tell me..

Thanks in Advance



Posted by: Kundan64 on: 1/11/2013 [Member] Starter | Points: 25

On the click of button take the data from SQL ( WCF) and convert the data in ObservableCollection, and pass the ObservableCollection as ItemSource in cs and also define the DisplayMemberPath in XAML.

Rama Sagar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response