如何将数据库与Web服务连接 [英] How to connect database with webservices

查看:94
本文介绍了如何将数据库与Web服务连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#代码在asp.net中处理三层体系结构项目.我需要将我的Web服务与SQL数据库连接.我需要业务层和.cs层的代码.

I am working with three tier architecture project in asp.net using C# code. I need to connect my web services with SQL database. i need code for Business Layer, and .cs layer

推荐答案

这不是问题,但您需要了解的第一件事是如何使用ADO.NET.这是一篇很好的入门文章,易于理解:
为初学者使用ADO.NET [ http://en.wikipedia.org/wiki/ADO.NET [ http://msdn.microsoft.com/en-us/library/aa286484.aspx [ ^ ].

—SA
This is not a question, but the first thing you need to know is how to use ADO.NET. Here is a good introductory easy-to-understand article:
Using ADO.NET for beginners[^].

To drill down, please see:
http://en.wikipedia.org/wiki/ADO.NET[^],
http://msdn.microsoft.com/en-us/library/aa286484.aspx[^].

—SA


这篇关于如何将数据库与Web服务连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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