Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: LoadDataRow not updating existing row

Thread Tools

Re: LoadDataRow not updating existing row

Wai-Ming Lau
Posts: n/a

Hello, I was wondering if you were able to solve this problem? If yes,
how did you solve it?

I have a different problem in that
when I use the LoadDataRow, the method always "adds" a record in my
database, but it does not update an existing row.

I only have one primary key, the first column, and when I create array,
and pass values to the array, and use that array for the LoadDataRow
method, even when I include the
primary key in the first object element it will not update my table. I
am using oledb objects since I am using MS Access, but will this make a
difference? (I don't think it should, but who knows)



*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Existing Dll - using Functions from an existing dll Ruby 0 02-05-2008 07:38 PM
GridView nested in DataList - refreshing corresponding DataList row after updating GridView row H5N1 ASP .Net 0 04-26-2006 11:41 PM
Why no existing Java type to existing XML schema binding support? nrm Java 3 04-10-2006 04:52 PM
Updating Existing Web Apps via Installer Billy K. ASP .Net 0 02-23-2006 03:24 PM
ok I can do a totals row but how about a percentage row after each data row D ASP .Net Datagrid Control 0 05-23-2005 04:10 PM