This sample program will allow you to create, read, update, and delete record programmatically. In this program, you’ll learn the following: Populate DataGridView control with data programmatically. Include database file within the solutions. Clear controls Populate controls based on data selected in DataGridView control. Use ExecuteNonQuery to update database.