Ask the Expert

Web service to update a database at a remote location

I have to update the database (machine is at remote location) from my local machine for my b2c Web project (ASP.NET) frequently. I planning to do it with a Web service by passing the dataset to the Web service as parameter. Is it the correct approach?

    Requires Free Membership to View

Datasets are appropriate when you are working with disconnected data as is the case in many network applications that retrieve database data, manipulate it then merge it back into the datastore. Datasets were designed to facilitate this pattern. Datasets are considered "too heavy" in situations where you are doing read-only access in particular when you are not caching the data. From what you've described, passing datasets seems like the right thing to do.

This was first published in April 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: