Solved

How to update a GridView using custom LINQ datasource?

Posted on 2010-09-17
2
423 Views
Last Modified: 2013-11-11
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?
0
Comment
Question by:markerasmus
2 Comments
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
Comment Utility
0
 
LVL 1

Expert Comment

by:amr-it
Comment Utility
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
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now