Duration: 16 minutes
Summary: One of the options we have in our application is to update current items. Sometimes we need to change the inventory date, put the price for a sold item, or even add more description. The menu option loads the item in question in its own dialog. The user can then change the necessary information and save the changes or cancel out. The user needs first to select one item from the main grid before being able to load it in the update dialog. The row in question is passed as a parameter from the main form to the update form. The update form will use that row to update its controls. Once the user makes all the necessary changes to the item, he/she can save the changes. The method will first validate the data and make sure that the item information is provided. Then it saves the data to the database. The next video will take us into the steps of saving the modified data.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Windows Applications and Visual Studio 2010
Keyword: Visual Studio 2010, Windows Controls, MessageBox, Show, CheckBox, Checked, DialogResult, EventArgs, SelectedRows, ShowDialog, Fill, Invalidate, Refresh, DataGridView.