如何通过Web服务将新记录输入数据库 [英] How to enter a new record into a database over a web service
本文介绍了如何通过Web服务将新记录输入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找创建一个可以更新,删除新记录并将其添加到数据库中的一个表的Web服务.但是我希望创建一个可以在其他数据库上使用的webserive,我想将此添加到我的工具箱中.但是我不确定该怎么做.
*我是编程新手,每天仍在学习更多内容.
I am looking to create a web service that can update, delete and add a new record to one table in my database. But i am looking to create a webserive that can be used in the furture on other databases, i want to add this to my toolkit. But I am not sure how to go about it.
* I am new to programming and still learning more every day.
Thanks to any help given, examples would be great!
推荐答案
尝试编写简单的Web服务并理解其工作方式...
( http://support.microsoft.com/?scid=kb %3Ben-us%3B308359& x = 5& y = 17 [ http://support.microsoft.com/?scid=kb% 3Ben-us%3B308507& x = 9& y = 3 [
Try to code a simple webservice and to understand how it works...
(http://support.microsoft.com/?scid=kb%3Ben-us%3B308359&x=5&y=17[^])
The same goes for the database part. Try selecting something from it, then inserting some data, aso...
http://support.microsoft.com/?scid=kb%3Ben-us%3B308507&x=9&y=3[^]
But you should consider possible security issues when using a webservice to directly manipulate database records...
Hope this helps..
Phil
这篇关于如何通过Web服务将新记录输入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文