Solved

How to update a GridView using custom LINQ datasource?

Posted on 2010-09-17
2
428 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
Kumaraswamy R earned 500 total points
ID: 33714529
0
 
LVL 1

Expert Comment

by:amr-it
ID: 33720583
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

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

632 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