You can easily connect forms to Web services that receive data from and submit data to ADO.NET datasets.
Connecting forms to Web services to receive data
Connecting forms to Web services to receive and submit data
To design a form that connects to a Web service so it can receive data from and submit data to an ADO.NET dataset, first configure a Web service to receive data as described previously in steps 1 through 6 under Connecting forms to Web services to receive data, except select Receive and submit data in step 3. To configure a Web service to submit data:
Datasets are serialized using DiffGrams before they are transported over the wire. DiffGrams contain the schema and data of the dataset, and any information regarding changes that have been made to the original copy of the data. When submitting data, Web services use DiffGrams to update the data source with any changes.
When a user edits data, the integrity of the data is maintained according to the following rules. For more information, refer to the documentation for data tables and data columns in the .NET Framework SDK.
Automatically incremented columns
Connecting forms to Web services to submit data
Note the following when setting up a new form that only submits a dataset:
There are a few limitations on datasets: