Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将查询从 javascript 发送到 asp.net,然后 asp.net 将其返回 javascript?
var=select * from read//send to asp.net asp.net return values to javascript
谢谢
不。
您不能将原始 SQL 查询从客户端 JavaScript 发送到您的服务器,而不会使自己面临严重的安全问题。
而是设计一个 API。