开发者

Binding the data

开发者 https://www.devze.com 2023-02-27 01:17 出处:网络
how to bind the d开发者_StackOverflowata in datagrid in silverlight appiliaction project.with out using the List concept.I take it you mean binding the grid but not using List? I\'m not sure what is y

how to bind the d开发者_StackOverflowata in datagrid in silverlight appiliaction project.with out using the List concept.


I take it you mean binding the grid but not using List? I'm not sure what is your limitation of using List , but you can use IEnumerable or ObservableCollection where T is the class that you bind the grid rows to. (Un?)forunately, Silverlight has no DataSets so if you come from WinForm world, you now have to use objects for data binding, same as you would have used BindingList in WinForms or Object DataSource in ASP.NET.

0

精彩评论

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