views:

34

answers:

1
  1. I want a simple sample data binding for wpf data grid. (not using dataset use list or other collections). just Xaml codes and a little code behind.

  2. Is there any simple frame work for MVVM?

+1  A: 

1) Binding to collections is kind of the whole point behind using a DataGrid, if you haven't checked the MSDN article on DataGrids, theres some good tutorials, how twos and other odds and ends at the bottom of the page. Underneath all the class members.

2) The accepted answer for this question has an excellent list of MVVM frameworks. And has been kept fairly up to date.

Also for future reference, try not to ask two fairly unrelated questions in the one thread.

Hope it helps. - Val.

Val
thanks, but i dont think there are unrelated questions, data binding is one of main concepts of MVVM and its clear that i want to use wpf to implement my needs, also there are some frameworks for this but there arent simple and i prefer to write my own framework instead of using complicated frameworks (and may be unstable), so i ask is there any body with small frame work with basic options, and i going to extend it? TIA
SaeedAlg