Hello every one Is there any sample that uses xml for binding listbox to the northwind database? For example I want to bind my listbox using northwind database,I have norhtwind.mdb file so how I can bind listbox in only xml please tell me thanks.......
A:
Use the ItemsSource-Property of the ListBox.
<ListBox ItemsSource={Binding Source={StaticResource xmlFileRes}, Path=/doc/element, Mode=OneWay}/>
martin
2010-01-11 13:12:12