Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to update a GridView using custom LINQ datasource?

Posted on 2010-09-17
2
Medium Priority
?
434 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

782 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