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

How do I create, execute and control a winform from within a console application?
I've create a WinForms control that inherits from System.Windows.Forms.UserControl...I've got some custom events on
In a simple winform application, I call a function that endlessy create files on
I installed the new Visual Studio 2010. I want to create a C# Winform
I want to create a scrollable list of pictures fetched from the internet and
I am using the reportviewer control from VS 2010 to create client side reports
I have a C# 4.0 Winform app that I just upgraded from 3.5 to
I am still having problems with figuring out how to create winforms in a
I am trying to create a winForms user control. But I want would like
I'm using C# WinForms to create a level builder for my XNA game. I

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.