Is there way to set a param and a proper sql statement to change the value as shown above if I send in the PK ? I noticed my statement now is changing all the records.
I would like to change only one using the primary key.
I tried to bring in the PK and set it but I have a few bugs to work out before I can confirm it works or not.
Is there some code to confirm that something was updated that can be used here?
Have you considered the possibility that setting the second parameter would be very much like setting the first parameter? Which you have code for.
Joined: Oct 18, 2011
I was hoping this to be true. I wanted to eliminate this last step as being the error.
I am in the middle of adding functionality and devising a test and on top of that
I have realized a global var problem concerning MVC2 model design. I will
Add this back in and try to finish debugging this mess.
subject: How does one insert a column value into an existing record?