如何创建读取数据库中每条记录的Web服务 [英] How to create a web service that read each records in a database

查看:72
本文介绍了如何创建读取数据库中每条记录的Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想创建一个Web服务来读取MSSQL中的每条记录并将其显示在Web控件中,有什么建议吗?

I would like to create a web service that reads each record in MSSQL and display it in a web control, any suggestions?

推荐答案

你好Teemer,

hello Teemer,

请提供一些有关你的要求的更多细节。如果您想从MSSQL中读取数据,则可以使用与在其他.net应用程序中使用的数据相同的数据。如果是Web服务,您可以创建Web方法,任何其他应用程序都可以使用此方法。

Please give some more details about your requirement. If you would like to read data from MSSQL, you can use same as you use in other .net application. In case of web service you can create web method and this method can be consumed by any other application.

在Web控件中,您希望显示什么?你的问题没有意义。

In web control what do you like to show? It does not make sense from your questions.


这篇关于如何创建读取数据库中每条记录的Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆