开发者

How XAML through binding listbox to northwind database

开发者 https://www.devze.com 2022-12-15 21:04 出处:网络
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

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

精彩评论

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