Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6598979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:25:44+00:00 2026-05-25T18:25:44+00:00

I am using View as a Data Source to my DataGridView and I want

  • 0

I am using View as a Data Source to my DataGridView and I want the DataGridView to update automatically every X time with an updated View, and Its a problem because I am using View instead of SQL command.

As I’ve searched so far, I need to refresh the data source in the gridview to show updated data and it should be like that:

GridView.DataSource = null;
GridView.DataSource = ViewDataSource;

This does refresh the GridView, but with the same data.
the problem is that the view itself doesn’t change, even thought I wrote:

ViewDataSource.EndEdit();

I am pretty sure its because I havn’t start editing it and as I know the view was taken as the program started, so I am looking for a way to refresh my view (its my datagridview’s data source) with the updated data so I can add it to the grid.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:25:45+00:00Added an answer on May 25, 2026 at 6:25 pm

    GridView.Refresh() and add Application.DoEvents() for it to refresh immediately.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to update the same view with new data? Using UPDATE after
Im using a List<Patient> object as the data source to a data grid view.
I am using an NSFetchedResultsController with a data source that is updated in the
I am using vb.net 2010. I have a datagridview whose data source is a
I have this code I want to bind data to grid view without using
I have a grid view utilizing sql data source. Now I want to delete
Is is possible to force Grid view edit mode without using object data source,
I'm passing data between my controller and my view using a ViewModel class. When
I have an SSIS package that queries data from a view using an SQL
I am trying to re-call core-data in UITable using model view. I am in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.