首页> 外文期刊>Access VB - SQL Advisor >Create and Update Web Services Using VB .NET and ADO.NET
【24h】

Create and Update Web Services Using VB .NET and ADO.NET

机译:使用VB .NET和ADO.NET创建和更新Web服务

获取原文
获取原文并翻译 | 示例

摘要

Without a doubt, .NET Web services are the most talked about topic these days. This article shows you how to use VB.NET Web services and ADO.NET DataSets to pass data between client and server applications to build truly disconnected applications. I'll show you how to do this by creating a Web service in VB.NET for updating a database from a remote application. To keep things simple in this article, I use the .NET console application as the client. This lets you build a remote update data service with minimal code. Figure 1 shows this article's example application scenario. Use VB.NET to create a Web service that runs on a Web server connected to PUBS database. The PUBS database is installed as a sample database with SQL Server. The purpose of this Web service is to provide two public Web methods: GetAu-thors and UpdateAuthors. As the name suggests, GetAuthors queries the PUBS database's Authors table to return all the authors in the form of an ADO.NET DataSet. Although GetAuthors provides helpful functionality, it's simple and doesn't offer any transactional capabilities.
机译:毫无疑问,.NET Web服务是当今最受关注的话题。本文向您展示如何使用VB.NET Web服务和ADO.NET数据集在客户端和服务器应用程序之间传递数据,以构建真正断开连接的应用程序。我将向您展示如何通过在VB.NET中创建Web服务来从远程应用程序更新数据库来做到这一点。为了使本文简单,我将.NET控制台应用程序用作客户端。这使您可以使用最少的代码来构建远程更新数据服务。图1显示了本文的示例应用程序场景。使用VB.NET创建在连接到PUBS数据库的Web服务器上运行的Web服务。 PUBS数据库作为SQL Server的示例数据库安装。此Web服务的目的是提供两个公共Web方法:GetAu-thors和UpdateAuthors。顾名思义,GetAuthors查询PUBS数据库的Authors表以ADO.NET DataSet的形式返回所有作者。尽管GetAuthors提供了有用的功能,但它很简单并且不提供任何事务处理功能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号