[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-19 Thread Usman
Its Nice to See You Here Mr.Arif and The Reply Was a bit Tricky too

[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-16 Thread Benj Nunez
Yes. The primary key is "ID" as indicated above. On Jan 16, 7:18 pm, "Muhammad Arif" wrote: > there must be a primary key in the table you are update through adapter.. > > > > On Fri, Jan 16, 2009 at 1:29 PM, Benj Nunez wrote: > > > Yes. I did that, in fact I tested several lines of code for th

[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-16 Thread Muhammad Arif
there must be a primary key in the table you are update through adapter.. On Fri, Jan 16, 2009 at 1:29 PM, Benj Nunez wrote: > > Yes. I did that, in fact I tested several lines of code for the Update > () method, but still no go. :( > > Here's what my method looks like: > > >p

[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-16 Thread Benj Nunez
Yes. I did that, in fact I tested several lines of code for the Update () method, but still no go. :( Here's what my method looks like: public void saveTrimmedResultsEx(ref DataSet ADataSet) { //Console.Out.WriteLine(builder.GetUpdateComma

[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-16 Thread Usman
have u tried passing table name as an argument to the adapter's update function, if not try this coz sometimes just dataset doesn't work with this approach.

[DotNetDevelopment] Re: Save Dataset changes to a database

2009-01-15 Thread bhargav.it...@gmail.com
Good u have done good job but slight mistakes there are 1. U must have to add parameter to ur update command 2. Don't accept changes before ur . Adapter.Update(DataSet) state ment. It will cause to all changed rows to force to unchanged state and ur adapter.update method dont seem any changes to up