Gridview onupdating event Sites with adult home cams

08-Nov-2019 04:52

Your problem begins with the actual UPDATE SQL command that your datasource generates.

You can go into the Data Source designer to manually change only the UPDATE SQL.

Ok, So I was able to resolve this issue by going into the On Updating event in the Object Data Source and doing the following below.

Hey, I've been working a gridview that uses an Object Data Source to perform either select, insert, delete or update.

I was able to get everything to work correctly with the Grid View except when it came to performing an update.

Using the wizard will affect your other (SELECT, INSERT, DELETE ) calls if you are not careful.

If you have the option, I would recommend using the SQLData Source objects.You can include it inside an if statement and manipulate controls on the page as you would any other codebehind function. I should have known you'd give me a straight simple answer, as usual.