How XAML through binding listbox to northwind database
Is there any sample that uses xml for binding a ListBox
to the northwind database?
For example I want to bind my ListBox开发者_JAVA百科
using the northwind database. I have norhtwind.mdb file
so how I can bind ListBox
in only xml please tell me thanks.......
Use the ItemsSource-Property of the ListBox.
<ListBox ItemsSource={Binding Source={StaticResource xmlFileRes}, Path=/doc/element, Mode=OneWay}/>
精彩评论