从远程网页运行SQL [英] running SQL from a remote web page

查看:85
本文介绍了从远程网页运行SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这是否更符合Access问题或XML问题 - 不幸的是,我不知道如何将其列为两者。


无论如何,我确定没有人问过我的问题,因为看起来任何人都不会想到这个问题太简单了,除非他们完全无知 - 这就是我的情况。


我的网页上有两个文本字段(如果你愿意的话,请随意跳过这个 - 我保证这最终会是一个Access / XML问题):

展开 | 选择 | Wrap | 行号

解决方案

向服务器上的VB脚本发出AJAX请求,并将数据传递给SQL中插入。在服务器端,使用提交的值创建SQL并查询您的数据库。


感谢您的回复。


我会四处寻找,看看我是否能够理解你刚才所说的内容,但是如果你(或某人)在找到解释之前得到了这个,我得说:我不知道AJAX是什么......

AJAX是一种JavaScript技术,用于在后台向服务器发送HTTP请求。


I''m not sure if this better qualifies as an Access question or an XML question - unfortunately, I don''t see how to list it as both.

Anyway, I''m sure no one has asked my question because it seems like it is far too simple of a task for anyone to wonder about unless they are completely ignorant - which is my case.

I have two text fields on my web page (feel free skip past this if you want - i promise this is an Access/XML question eventually):

Expand|Select|Wrap|Line Numbers

解决方案

make an AJAX request to a VB script on the server and pass it the data to insert in the SQL. on the server side, create the SQL with the submitted values and query your DB.


Thank you for the response.

I''ll dig around to see if I can get an understanding of exactly what you just said, but in case you (or someone) gets this before I find an explanation, I gotta say: I have no idea what AJAX is...


AJAX is a JavaScript technique to send a HTTP request to the server in the background.


这篇关于从远程网页运行SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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