![]() ![]() Setting the controls of the items in the Data Sources window. Tasks illustrated in this walkthrough include:Ĭreating and configuring a data source in your application with the Data Source Configuration Wizard. ![]() This walkthrough shows how to add code to save updates from more than one table. ![]() Any additional tables that are added to a form require the manual addition of this code. When you drag tables from the Data Sources window onto a form, the code that's required to save data is automatically added. You can save data in your application back to the database by calling the Update method of a TableAdapter. This example uses the Customers and Orders tables from the Northwind sample database. This walkthrough creates a form that displays data from two related tables and shows how to edit records and save changes back to the database. One of the most common scenarios in application development is to display data on a form in a Windows application, edit the data, and send the updated data back to the database. Applies to: Visual Studio Visual Studio for Mac Visual Studio Code ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |