After setting the Details View’s Item Updating method, you will need to modify the SQL Data Source’s Update Command, Update Command Type, and Update Parameters.
If you don’t like their default edit mode appearances, you can customize them using templates. If you click the same header again, the data is sorted in reverse order.You can move to another page in the grid by clicking the numbers at the bottom. Click the Edit link for one of the genres, change the name in the text box that has appeared, and click the Update link. Remember, there’s a script file in the control that should open automatically (if it doesn’t, click the gray arrow on the upper-right corner of the control or right-click the control and choose Show Smart Tag), check all the available check boxes, shown in Figure 13-4. The links in the left column enable you to edit, delete, and select the relevant genres. If you don’t see the Planet Wrox database listed here or you get an error, refer to the preceding chapter, which explains how to set up the database.