如何在sql数据库中使用ajax [英] How do I use ajax with sql database

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

问题描述

你好 -



我搜索了几篇文章,这不是我正在寻找的。我想学习使用sql数据库而不是php的ajax。一般来说,我希望能够创建一个网页,使用ajax调用(按钮点击或某种事件)到我的数据库中获取数据,然后在整个页面中使用该数据。我没有完全碰到那样的文章或教程。我正在尝试学习ajax。



谢谢

Hello -

I've searched a few articles and it isnt exactly what i'm looking for. I'd like to learn ajax using sql database not php. In general I'd like to be able to create a webpage use an ajax call (button click or some sort of event) to my database for the data, then use that data through out the page. I have't exactly ran across an article or tutorial like that. I'm trying to learn ajax.

Thanks

推荐答案

您使用的是Visual Studio吗? />
然后你就可以将EntityFramework与WCF数据服务一起使用了。

它实际上会自行生成。



首先在WCF数据服务中搜索EntityFramework数据库。
Are you using Visual Studio?
You could then use the EntityFramework with a WCF dataservice on top of that.
It will practicly generate itself.

Search for EntityFramework database first en WCF dataservice.


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

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