使用angular将数据插入SQL [英] Insert data to SQL using angular

查看:104
本文介绍了使用angular将数据插入SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我们可以使用PURE Angular Js将数据插入到SQL中并使用任何其他支持编程(如C#,Asp.net等)从SQL检索数据。

谢谢..



我尝试过:



插入和使用AngularJS在SQL中进行选择

HI ,
Can we insert data to sql and retrieve data from SQL using PURE Angular Js WITHOUT using any other support programming like C#, Asp.net etc..
Thankyou..

What I have tried:

Insertion and Selection in SQL using AngularJS

推荐答案

1。 AngularJS无法直接连接数据库...

2.要直接从客户端连接数据库(某些JavaScript),您必须将数据库暴露给Web,这主要不是这样的好主意...



没有比使用某些API访问数据库更强大的了。它允许您替换实际存储,添加越来越多的UI解决方案并扩展功能,而无需重写整个代码......
1. AngularJS has no capabilities to directly connect a DB...
2. To connect a DB directly from the client (some JavaScript) you have to expose the DB to the web, which is mostly not such a good idea...

There is nothing more robust, than using some API to access the database. It let you replace the actual storage, add more and more UI solutions and extend features without rewriting the whole code...


这篇关于使用angular将数据插入SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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