sql server数据库与asp.net中的Java脚本一起使用 [英] sql server data base use with java script in asp.net

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

问题描述

嗨.....

我想将数据库与Java脚本一起使用.
我想要在Java脚本中.
打开连接
紧密连接
写命令
数据读取器
数据适配器
数据表

评估方法
字符串生成器
等...

请帮帮我..
问候
Rakesh

hi.....

I want to use data base with java script.
In java script I want like.
open connection
close connection
write command
data reader
data adapter
data table

eval method
string builder
etc...

please help me..
Regards
Rakesh

推荐答案

我不认为使用客户端Javascript是连接数据库的正确方法.相反,数据库操作应该在服务器端进行,例如使用 SqlConnection [^ ] , SqlCommand [
I don''t think using client side Javascript is the correct way to connect to a database. Instead the database operations should be don on server side for example using SqlConnection[^], SqlCommand[^] and so on.


这篇关于sql server数据库与asp.net中的Java脚本一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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