Advertisement

07.18.2008 at 01:03PM PDT, ID: 23578078
[x]
Attachment Details

Updating Datatable from DataGridView in Windows

Asked by cporch in Windows NT Networking, Microsoft Visual Basic.Net

Tags: Microsoft, visual studio, 2005, vb.net programming language, vb.net, n/a, n/a

I'm using a TableAdapter as a source for a DataGridView in a windows form.
I've let the TableAdapter generate standard update, delete, and insert commands.
I've been able to properly use the TableAdapter's delete and insert commands by passing current row information to the method, but have trouble when it comes to updating.
I don't understand how to update the datatable used as the source for the GridView with changes that I've made in the Gridview.  Any help would be appreciated.Start Free Trial
[+][-]07.18.2008 at 03:08PM PDT, ID: 22040231

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 10:36AM PDT, ID: 22052535

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows NT Networking, Microsoft Visual Basic.Net
Tags: Microsoft, visual studio, 2005, vb.net programming language, vb.net, n/a, n/a
Sign Up Now!
Solution Provided By: cporch
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628