Data Updating and Deleting with Visual C#.NET
2010
This chapter discusses how to update and delete data against the databases. Basically, many different methods are provided and supported by Visual Basic.NET and .NET Framework to help users to perform the data updating and deleting against the database. The chapter provides discussions on data updating and deleting using methods 1 and 2, or in other words, using the TableAdapter.Update() and TableAdapter.Delete() methods provided by the Visual Studio.NET Design Tools and Wizards. It presents the data updating and deleting using the run time object method to develop command objects to execute the ExecuteNonQuery() method dynamically. The chapter discusses updating and deleting data using the stored procedures and the LINQ to SQL query. It focuses on the coding for the Update and Delete buttons. The chapter also provides a detailed introduction about the Design Tools and Wizards in Visual Studio.NET.