Advanced Visual Basic 2010 Chapter 7 Programming Challenge 2 Deleting Payments
Create an application that lets the user delete payments from the Karate database. Use an Object data source and a BindingSource control. Add a ToolStrip control containing a Delete button, as shown in Figure 7-18. Display all payments in a DataGridView control. When the user selects a payment and clicks the Delete button, LINQ queries that delete the payment and refresh the grid are executed.