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 6622409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:24:07+00:00 2026-05-25T21:24:07+00:00

The other day I started working on a project in C#.NET using Windows Forms

  • 0

The other day I started working on a project in C#.NET using Windows Forms and it’s been quite a while since I last used Windows Forms so I’m feeling a bit rusty.

First off I should point out that I’m using Visual C# 2010 Express which does not have GUI wizard support for databindings (well it does, if you enjoy MS Access or locally stored database files) and I need to speak to a MySQL database and make it play nice with a DataGridView.

My problem stems from the fact that I can’t quite figure out how to do updates and deletes. Most online sources I’ve found seem to just refer to running the data binding wizard, something I can’t do (since I’m running Visual C# 2010 Express).

Now, I’ve been able to select data from the database without any major problems (using a MySqlDataAdapter, a BindingSource and a DataTable) but when I try to use MySqlDataAdapter.Update(<DataTable>) nothing happens.

I’m assuming there is some setup work I need to do which is normally handwaved away as “just use the wizard”. So, does anyone have a simple example of what I need to do to be able to do updates, inserts and deletes? With or without stored procedures, both ways are fine (although I’ll probably end up used stored procs in the finished program).

  • 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-25T21:24:07+00:00Added an answer on May 25, 2026 at 9:24 pm

    I suggest you to do not use those DragDroppable DataAdapter or BindingSources from the VS Toolbox, just layer your project properly in different projects each one with its own concern, like Data Access, Business Logic and Presentation (GUI).

    see my answer here: MVC3 and Entity Framework

    if you have a solid layered / m-tier architecture you will find out that data management logic belongs only to the Data Access Layer and the UI just has to ask what is needed going through the Business Logic.

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

Sidebar

Related Questions

I started playing around with web2py the other day for a new project. I
I learned about Microsoft BizSpark the other day and started the sign up process.
the other day a colleague of mine stated that using static classes can cause
The other day this code was working. I changed some things and re-ran it
The other day I saw a colleague of mine using sort to sort a
I have a problem i have been hunting down for the last day and
Although I am using drupal since the D4 series, I only started developing professionally
I've been writing Windows Services for a while and they always seem to work
I just started learning JS the other day and am (of course) having some
I just started playing with scala and have been using the Scala By Example

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.