We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Trouble with Updating a DataGridView

Thread ID:





42775 Apr 5,2006 02:56 PM Apr 15,2006 08:01 AM Windows Forms 1
Tags: FAQ
Asked On April 5, 2006 02:56 PM

I am having a difficult time updating a database using the DataGridView using VS2005. I have no trouble creating and populatind a DataGridView, but I cannot save the changes. I have read that one needs to set an UpdateCommand with the dataadapter, but I can find no tutorial that adequately provides help. ANy help would be greatly appreciated

Rahul Sharma
Replied On April 15, 2006 08:01 AM

hi, I hope what you are looking for can be obtained at http://msdn2.microsoft.com/en-US/library/70k6287b.aspx The reason for you trouble should be that as datarow view keeps a track of all the changes made to the database and did not update it, unless mentioned. Hope this information might be useful.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.