惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

博客园 - ;姚元培

C#企业级开发案例精解:用经典案例学通 NET技术 NHibernate HibernateTemplate 和Session的区别 HQL中的Like查询需要注意的地方 C# WinForm控件美化扩展系列之TabControl控件(3)-完整版 应用程序权限设计 asp.net MVC 显示数据库中的html 代码 ASP.NET MVC2 使用绑定时 等号和冒号的差别 spring.net asp.net mvc 验证 asp.net防止页面刷新或后退引起重复提交 截获系统注销时候的消息 WeifenLuo.WinFormsUI.DockContent 使用 c# listview 房间列表 百度搜索 asp后台批处理 asp.net数据显示 完善网站程序 脚本攻击防范策略完全篇 asp获取客户端ip http-equiv属性 弹出窗口代码 javascript with 和 prototype属性 .NET设计模式系列文章 关于rs.bof 和 rs.eof onbeforeunload与onunload事件 使用distinct在mysql中查询多条不重复记录值的解决办法 HTML特殊字符显示 屏幕捕捉 和批量重名命 html文件 后缀 js dom JavaScrip高级应用:操作模态与非模态对话框 vb常用 如何去除图片连接的边框线 常用CHM帮助文档集锦下载 asp 纪录集 返回首行首列 SQL语句大全 正则表达式30分钟入门教程
asp sql语句
;姚元培 · 2011-12-16 · via 博客园 - ;姚元培

conn.execute("Insert into MemberRelation(username,secuser,relation)
values('"&request.cookies("name")&"','"&secuser&"',"&group_id_cp&")")

sql3="Insert into MemberRelation(username,secuser,relation)
values('"&request.cookies("name")&"','"&rs("username")&"',"&relation&")"
conn.execute(sql3)

sql3="Insert into MemberRelation(username,secuser,relation)
values('"&request.cookies("name")&"','"&rs("username")&"',"&relation&")"
conn.execute(sql3)
friendsql="insert into TB_FriendEmployee values("&tempid&","&tempid&",1)"
tempconn.execute friendsql

set tempconn=Server.CreateObject("adodb.connection")
tempconn.connectionstring="driver={sql
server};server=192.168.0.22;uid=sa;pwd=;database=HantTalk;"
tempconn.open

tempsql="insert into vo_userinfor
values('"&name1&"',0,'"&pass&"','"&user&"',1,null,'"&ch&"','"&phone&"','"&mobile&"','"&qymc&"','"&p_z_Z_productionService&"','"&email&"','','"&address&"','','"&post&"','','','',1,'','0',null,null,null,0,0)"
tempconn.execute tempsql

查询 更新 添加 删除 都可以用recordset
更新
update
rs.open sql,conn,1,3
rs(" ")=
rs.update
删除
Set RS1=Server.Createobject("adodb.recordset")
Sql1="Delete From banner where linkid="&request("linkid")
Rs1.open sql1,conn,1,1
Rs1.close
Set rs1=nothing


不用创建纪录集
sql="select * from exhibition where id="&id&" and flag=1"
set rs=conn.execute(sql)
不用创建纪录集

conn.execute("sql语句")
conn.execute sql
conn.execute(delsql)

rs.recordcount