Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 15th, 2005, 06:18 AM
Registered User
 
Join Date: Feb 2005
Location: Willimantic, Connecticut, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySql .NET Provider Update/InsertCommand

Could someone please give me an example of using the UpdateCommand or InsertCommand? I cant figure it out. At one point i had it running correctly except for the fact that it didnt actually submit the changes when i ran Adaptor.Update(DataTab)...

 
Old February 22nd, 2005, 12:59 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: India.
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

hi

use Adapter.Update before DataSet.AcceptChanges

this might help u





Similar Threads
Thread Thread Starter Forum Replies Last Post
InsertCommand DetailsView nols BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 November 3rd, 2007 06:36 AM
Error: Update requires a valid InsertCommand ... spiffyaldo2 ASP.NET 2.0 Basics 3 March 27th, 2006 02:24 AM
Error: Update requires a valid InsertCommand... spiffyaldo2 ASP.NET 1.0 and 1.1 Basics 0 March 25th, 2006 02:28 PM
Update requires a valid InsertCommand when ... spiffyaldo2 BOOK: Beginning ASP.NET 1.0 0 March 25th, 2006 03:05 AM
.NET Data Provider pradeep_itguy ADO.NET 0 October 3rd, 2004 04:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.