PC Review


Reply
Thread Tools Rate Thread

Detailsview update method issue

 
 
=?Utf-8?B?UGhpbCBI?=
Guest
Posts: n/a
 
      9th Oct 2007
I have a detailsview control on an ASP.NET 2.0 page which is bound to methods
in a business object through an ObjectDataSource. All of the bound methods
work correctly, but I have a slight problem with the update method.

Unless the primary key value is visible and editable (i.e. not readonly) in
the detailsview on the page, the Update action won't pass the value to my
method, so the record is not updated. Of course I don't want the end user to
see or edit the primary key. How can I get around this situation?


TIA for your time and expertise.
--
Phil Hegedusich
Senior P/A
IIMAK
----
A skeleton walks into a bar and says, "I need a beer and a mop."
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Detailsview updading issue Peter Microsoft ASP .NET 7 17th Jun 2009 06:39 PM
DetailsView with XmlDataSource (perhaps XPath issue?) pompair Microsoft ASP .NET 0 27th Jan 2008 04:50 PM
Update of DetailsView with programatic DataBinding kamlesh Microsoft ASP .NET 0 13th Jun 2007 06:07 PM
DetailsView bound field issue SAL Microsoft ASP .NET 0 25th May 2007 07:28 PM
DetailsView DataControlFields - Update =?Utf-8?B?TWlrZQ==?= Microsoft ASP .NET 1 23rd May 2007 06:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:38 AM.