Link to home
Start Free TrialLog in
Avatar of markerasmus
markerasmusFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How to update a GridView using custom LINQ datasource?

I am trying to update a GridView that uses a custom LINQ datasource.  The reason I am using a custom LINQ datasource is because I am querying multiple tables in a database.  

Do I need to use the Updating event of the custom linq datasource?  If so, how do I retrieve the values from the DataGrid?
ASKER CERTIFIED SOLUTION
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amr-it
amr-it

I'm not sure I am understanding what you want to achive, but if you want to refresh the view I think you can use the Update() method of the DataGridView.

http://msdn.microsoft.com/en-us/library/system.windows.forms.control.update.aspx

Cheers