Objectdatasource onupdating
You still might have to change Old Values Parameter Format String to "" instead of "original_", but that depends on how you have your Table Adpater or PTCPipeline. Again, since Employee ID is in Data Key Names, you don't need a Bind statement for it.Grid View will cause Object Data Source to automatically send the Employee ID value to the Update Method because it is a Data Key (primary key).This was occuring even though I had placed Old Values Parameter Format String="original_" or Old Values Parameter Format String="" within the Grid View's attributes.
The page just posts back with the Edit Item Template controls still showing. Because the Update Parameters collection contains a Control Parameter object that is bound to the selected value of the Drop Down List, the button that triggers the Update operation is enabled only after an employee is selected.Raising an event invokes the event handler through a delegate.However, you shouldn't need to specify a Bind for Employee ID since it is in the Data Key Names of your Grid View (the primary key).You shouln't need any Bind or Eval statements for Employee ID since it is already specified in Data Key Names.
Leave a Reply

All of our rooms are free to use, and will always be free adult chat rooms.
(We have been in the online dating business for over 15 years!
There are no special algorithms, no complicated technology, just simple chat rooms.
It could be argued that America’s history of dealing with interracial dating has also included a strong disapproval of black women dating white men.