Typically, the user selects a master record from a list or a grid, and the application drills down to show all the available fields. NET 2.0, the Details View control fulfills this role and is the ideal complement to the Data Grid and Grid View controls that we examined in the previous chapter.
The Details View control deliberately doesn't support templates.
With that in mind, Share Point 2010 is like a sea of icebergs – there is a lot going on under the surface that you may not notice until it’s too late.
Unfortunately, that makes your project like the Titanic.
It can page, update, insert, and delete data items in the underlying data source as long as the data source supports these operations.
event is raised when an Update button within a Details View control is clicked, but before the update operation.
Details View Updated Event Args) Handles Details View1.
Text = Listing Guid End Sub Please let me know what I am doing wrong?
There is a page with a Form View bound to a Object Data Source.I should also point out that I know the difference between a metaphor and simile in case that was bothering you from the opening sentence.I am nothing if not a masterful linguist after a beer or two or more. When I try editing any of the first 8 elements, I'm fine. So, a simple object with just an ID and a Description would give a Count of 2. I tried doing this via the Details View_Item Updating event as: e. Ironically enough..there are 8 fields in the Details View that are "editable" with the ptype being a dropdown in there--the 4th control in the edit view. So regardless as to whether I picked (1, "ptype", 20) or (3, "ptype", 20) or any other number in the first parameter below 8 -- it worked fine.I did debug and put a line: dim x as integer = e.newvalues.count and it was recording 7 (or 8--i forget). I haven't seen the rest of your page so I can only guess, but my take is you're not supplying a value for ptype in the code before (e.g. Command Argument, "Title", "New Value") You'll see it crashes with an error stating that Title (or whatever column name you have) already exists.