By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

How to post edits back to end user from datagrid?

P: 347
I have a form in an application that I'm building that allows users to edit the data from a datagridview. I have two buttons, submit changes and cancel. What I'd like to do is when the user presses the submit changes, that it first shows them the edits that they've made, then asks them if they're sure before they are allowed to proceed.

Here is my code for the form:
Expand|Select|Wrap|Line Numbers
  1. Public Class Form4
  3.     Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  4.         'TODO: This line of code loads data into the 'MDRDataSet1.Exceptions' table. You can move, or remove it, as needed.
  5.         Me.ExceptionsTableAdapter.Fill(Me.MDRDataSet1.Exceptions)
  7.     End Sub
  9.     Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
  10.         Me.Close()
  11.     End Sub
  12. End Class
Can anyone offer me either a link to a tutorial on how to do this or some sample code?

Thank you

Nov 16 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.