如何在asp.net中使用javascript调用数据库? [英] How to call database using javascript in asp.net?

查看:81
本文介绍了如何在asp.net中使用javascript调用数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用js调用db并从中获取记录

how to call db using js and fetch record from it

推荐答案

编写一个Web服务或web方法,检索数据并编写javascript来调用webservice或webmethod。 Google调用asp.net webmethod jQuery,你会找到一些例子。
Write a web service, or web method, that retrieves the data and write javascript to call that webservice or webmethod. Google "call asp.net webmethod jQuery" and you'll find some examples.


这篇关于如何在asp.net中使用javascript调用数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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