We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridData Entity Collection Two Way Binding

Thread ID:

Created:

Updated:

Platform:

Replies:

96468 Sep 15,2010 08:40 AM Sep 15,2010 10:00 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Elisha John
Asked On September 15, 2010 08:40 AM

Hello

I'm using the GridDataControl and set an entity collection as the item source.

DataEntities context = new DataEntities();
CustomDataGridDataControl.ItemsSource = context.CustomData;

The mapping names were done in xaml.






The data appears in the GridDataControl, however when the cells are edited, it isn't reflected in the database, how do I do a two-way binding in this situation?

Thank you in advanced.






Elisha John
Replied On September 15, 2010 10:00 AM

Ah found the solution, thank you.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;