Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Updating with DetailsView Control - ASP.net2

Reply
Thread Tools

Updating with DetailsView Control - ASP.net2

 
 
Roger
Guest
Posts: n/a
 
      11-15-2005
Got a GridView control on screen - users can select a record from this and
it shows up details of selected record in a DetailsView control.

DetailsView control is set to allow Updates & Inserts. Inserts work fine but
updates dont give any errors but also dont update the record? Any ideas what
I'm doing wrong?

THanks

Roger


 
Reply With Quote
 
 
 
 
joeka
Guest
Posts: n/a
 
      11-17-2005

I am having the exact same problem - and I can't for the life of me
work out why.

My first attempt at using a GridView \ DetailsView combination worked
perfectly - it Inserts, Updates and Deletes perfectly!

My second attempt just doesn't seem to be working... It Inserts, it
Deletes, but for some unknown reasons doesn't Update!!!

I have checked and re-checked the code, but can't spot anything
different from my original (working) example... I am using an
SQLDataSource with an MS Access DB.

Anyone have any suggestions?

Thanks,

Joe

 
Reply With Quote
 
 
 
Reply

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
Inserting/Updating records in a DetailsView 47computers@gmail.com ASP .Net 0 03-28-2007 12:49 AM
DetailsView not updating David Lozzi ASP .Net 2 01-09-2007 04:18 PM
updating in detailsview ashishbuddha ASP .Net 0 07-18-2006 04:19 PM
Catch errors when updating a DetailsView control stuart.d.jones@gmail.com ASP .Net 3 01-26-2006 12:32 PM
DetailsView - Changing to Insert Mode (Not By Using the Insert Button In the DetailsView Control) Feege ASP .Net Web Controls 0 12-20-2005 12:28 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57