Click here to Skip to main content
15,913,208 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am new in WPF and I'm using a data grid. Beside one button there is add exhibit through which one can feed the value through their local machine.

All working fine but the problem arises as when I use to feed the new value to the grid, the previous one is lost and the new value comes in place of the older one.

I want that the older value should remain following the newer one.

Please someone help me out.
Posted
Updated 29-Oct-11 2:15am
v2
Comments
Nueman 29-Oct-11 8:16am    
Corrected spelling, capitalization, text speak. Readability.
Member 8358207 29-Oct-11 8:24am    
Thanks

1 solution

Instead of assigning the new value to data grid, you can do the following:
1. Fetch the current content of data grid
2. Add the fetched content to the new value
3. Assign the updated value to data grid

Now, you will have the old + new value in data grid
 
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