且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用javascript插入SQL数据库表?

更新时间:2023-11-30 21:28:10

您需要了解Web paq的工作原理。如果这完全有效,它将使用ActiveX插入您假定存在的客户端计算机上的数据库。



我希望你没有使用ASP。即使ASP.NET已经过时了。



您需要进行AJAX调用或回发并在后端代码中插入数据库
You need to learn how web paqes work. If this works at all, it will use ActiveX to insert into a database on the client machine that you assume exists.

I hope you're not using ASP. Even ASP.NET is outdated.

You need to make an AJAX call or a postback and insert to the database in the back end code