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

  • SEARCH
  • Home
  • 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 3335130
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:58:58+00:00 2026-05-17T23:58:58+00:00

I create a winform I´m adding a datagridview by dragging a table from data

  • 0
  1. I create a winform
  2. I´m adding a datagridview by dragging a table from data sources
  3. the result: I´ve got a winform with a datagridview and a bindingnavigator
  4. I´m adding a second datagridview to the same winform by dragging another table from data sources
  5. the result: same as bullet 3, but now with two datagridviews; a second bindingnavigator is not added though, don´t ask me why!
  6. I copy the existing bindingnavigator and a adapts the copy to the second datagridview
  7. I look into the .Designer.cs file, and it looks perfect regarding consistency
  8. Now to the problem – even though both datagridviews have their own BindingNavigatorSaveItem_Click method, with code pointing out their respective bindingsources… it´s not possible to save changes from the second datagridview to the database!

    Anyone seen this? Any suggestions what to do?
    
  • 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-17T23:58:59+00:00Added an answer on May 17, 2026 at 11:58 pm

    I solved it like this (I thank mr/mrs/miss dretzlaff17 who started up some processes in what´s left of my doped brain)

      private void tableMeLikeBindingNavigatorSaveItem_Click(object sender, EventArgs e)
      {
         try
         {
            this.Validate();
            this.tableMeLikeBindingSource.EndEdit();
    
            // IMPORTANT: the following predefined generic Update command
            // does NOT work (sometimes)
            // this.tableAdapterManager.UpdateAll(this.rESOURCE_DB_1DataSet);
    
            // instead we explicitely points out the right table adapter and updates
            // only the table of interest...
            this.tableMeLikeTableAdapter.Update(this.rESOURCE_DB_1DataSet.TableMeLike);
         }
    
         catch (Exception ex)
         {
            myExceptionHandler.HandleExceptions(ex);
         }
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a WinForm application that must draw data coming from a
So I am trying to create a basic WinForm Application that uses SNMP, from
How do I create, execute and control a winform from within a console application?
I have been researching how to create a hybrid winform and CLI app... I
how to create a watermark text box in winForm i want to use in
I am developing a winform (desktop) application in C#. How can I create an
language c#, winform how do i create a modal window or such a thing
I installed the new Visual Studio 2010. I want to create a C# Winform
I am dynamically adding and replacing controls in a winform panel at runtime Even
I am using the reportviewer control from VS 2010 to create client side reports

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.