Click here to Skip to main content
15,917,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am new to MVVM..I m creating a silverlight application ..i have created dataservice n a branchMaster view...i have a datagrid in that view.i want to populate the datagrid with the records from branchMaster table.n also do insert,update n delete function on it..i have a show button ,update button n delete button,textboxes (i.e Cmpy_cd,Enter branchname,n so on)..on show click i have to fill the grid with records in branchMaster do i achive it...i have been reading about it..but finding it difficult to implement...plz do help...
Jim Jos 22-Jun-12 1:10am    
Please put the code you have done so far we ll be able to help you out..

Steps to be followed.

1.Bind the datagrid with a List.
2.Update the list on Update/Save/Delete
3.Use UpdateSourceTrigger(Recomended) to referesh the value of the List in Grid or bind with Item Source.

Enjoy MVVM :)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900