开发者

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}/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜