Using the UPDATE Data Method Code Builder

In order to update the Customers database table with the values entered by the user, we need to use the UPDATE Data Method Code Builder to generate a function that will perform the database update. The function that will be generated by the UPDATE Data Method Code Builder will accept an input parameter for each column that is editable as well as an input parameter that uniquely identifies which record in the database table to update.

Here's the procedure:

1.
To use the UPDATE Data Method Code Builder, click the Code tab and then drag and drop the UPDATE Data Method Code Builder from the Toolbox and onto the source code portion, just as we have done for the SELECT Data Method Code Builder numerous times ...

Get SAMS Teach Yourself ASP.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.