Solved

VB.NET GridView Updating Records

Posted on 2008-11-01
2
370 Views
Last Modified: 2012-05-05
I have a gridview that is bound to a datatable. The fields are templete fields so the user can edit the records in the default item view. How do I update my datatable after changes are made to the gridview?
0
Comment
Question by:jimseiwert
2 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 22863370
The changes are made to the datatable automatically. All the bound controls make changes to their data source automatically.
0
 
LVL 2

Accepted Solution

by:
jimseiwert earned 0 total points
ID: 23078840
I wrote an update dataset after they update a row, that was the only solution that worked. The dataset was not being updated automatically. Thanks for your help though
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question