我需要创建一个网站/网络服务 [英] i need to create a website/web service

查看:65
本文介绍了我需要创建一个网站/网络服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个网站/网络服务,其他人可以通过该网站/网络服务访问我的数据库.据我所知,我需要调试一个称为ado.net的代码.请帮助我....我是初学者....

i need to create a website/web service through which other can access my database. As per my knowledge I need to debug a code called ado.net for doing so. plz help me on doing that....i m a beginner....

推荐答案

认真地,买一本好书,从头到尾地读一遍.如果您跳得太快,最终将导致错误的代码和维护的噩梦.

从hello world程序开始.继续使用所有不同种类的变量.然后通过使用类和名称空间(使用正确的incapsulationinheritence polymorphism)进行OO编程.如果一切正常,则可以深入研究网站,Web服务和数据库编程.

希望对您有所帮助.
Seriously, buy a good book and go through it from start to finish. If you jump into this too quickly, you end up with bad code and a maintenance nightmare.

Start of with a hello world program. Move up to using all different kinds of variables. Then move up to OO programming by using classes and namespaces (with correct incapsulation, inheritence and polymorphism). If all that is OK, you can go into depth of web sites, webservices and database programming.

Hope this helps.


如果您希望其他人访问数据库,那么最好的方法是拥有Web服务.编写一个Web服务以访问其中包含ADO.NET代码的数据库.您可以从以下链接中了解这两个方面:

了解ASP.NET中Web服务的基础 [ ^ ]

了解ADO.NET的初学者教程 [ ^ ]
If you want other to access the database then the best approach would be to have a Web service. Write a web service to access the database with ADO.NET code in it. you can learn a little about both from following links:

Understanding the Basics of Web Service in ASP.NET[^]

A Beginner''s Tutorial for Understanding ADO.NET[^]


这篇关于我需要创建一个网站/网络服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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