Chinaunix首页 | 论坛 | 博客
  • 博客访问: 26255956
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255957
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255958
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255959
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255960
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255961
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255962
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255963
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255964
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255965
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255966
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255967
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255968
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255969
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255960
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255971
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255972
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255973
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255974
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255975
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255976
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255977
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255978
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255979
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255980
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255981
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255982
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255983
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255984
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255975
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255986
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255987
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255988
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255989
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255990
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255991
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255992
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255993
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255994
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255995
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255996
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255997
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255998
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255999
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26255990
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256001
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256002
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256003
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256004
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256005
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256006
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51

ASP实例学习三-hkebao-ChinaUnix博客
  • 博客访问: 26256007
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2008-12-05 14:34:51


可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30972) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30971) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30970) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30969) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30968) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30967) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30966) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30965) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30964) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30963) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30962) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30961) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30960) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30959) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30958) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30957) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30956) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30955) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30954) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30953) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30952) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30951) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30950) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30949) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30948) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30947) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30946) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30945) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30944) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30943) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30942) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30941) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30940) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30939) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30938) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30937) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30936) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30935) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30934) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30933) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30932) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30931) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30930) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30929) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30928) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30927) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30926) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30925) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30924) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30923) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30922) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~

可以将一个文件包含到一个div中去!


可以将连接数据库与公共的函数单元引入进来的哦!

       
       
       
       
     

引入包含一个flash文件来的哦!
写一个关闭连接的函数吧!
function connclose()
    'response.Write(isobject(conn))&vbcrlf
    'response.Write(isnull(conn))&vbcrlf
    'response.Write(VarType(conn))&vbcrlf
    if VarType(conn)=8 then
        conn.close
        set conn=nothing
        conn=""
    end if
end function
[来研究一下varType]
会返回以下的结果哦:
vbEmpty   0   返回0表示空
vbNumll   1
vbInteger 2
vbLong    3
等等......
<%content=conn.execute("select [content] from [cont_int] where [id]=1")(0)%>
这样可以得到具体的一个变量的值的哦!
可以用JS来实现超链接的哦哈哈!

     
   

ASP代码:
Set rs = conn.execute("select title,url from [url] where typeid=1")
do while not eof
//可以得到具体哪项的值rs(1)
rs.movenext
loop
set rs = nothing
相当于
do while

loop

[服务器端获取来自客户端的数据]
sname   = formatstr(request.form("sname"))
[ASP处理Cookie的信息哦!]
response.Cookies("zxzx")="true"
一个名-值哦!
<%=content%>可以将数据库中的数据这样来展现出来的哦!
count1=RS.RecordCount:这个很像Delphi中的记录个数哦哈哈!

<%
  Set rs = Server.createObject("ADODB.Recordset")
  sql = "select id,titile from new"
  rs.open conn,sql,1,3
  count = rs.recordcount
  if count = 0 then
  response.write "the number is null"
  else
    
  end if
%>
//ASP真的比较简单的哦!
CLng 函数可返回表达式,此表达式已被转换为 Long 子类型的 Variant
VBScript中的内置函数哦!
dim a,b
a=23524.45
b=23525.55
document.write(CLng(a) & "
")
document.write(CLng(b))
可以输出:23524
23526
[看看如何进行更新一个数据表吧!]
Set Rs=Server.CreateObject("Adodb.Recordset")
sql="update t set t.a = "" where t.id = """
conn.execute(sql)
rs.close
set rs=nothing
直接执行一个SQL命令就可以了哦哈哈!
<%=rs(1)%>
可以将一个ID传递到这个ASP中去。然后处理这个ASP页面哈哈!
如果有一个超链接
dd
那在a.asp中可以这样来接受参数值的哦哈哈!
request("id")
在JSP中是这样来写的哦:request.getParatemers("id")
注意区别啊。
conn.execute("update [new] set djcount=djcount+1 where id="&r_id)
可以这样来更新一个SQL命令的哦!
set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
查询也可以这样处理的哦:
rs.open conn,sql,1,3
也可以将其当作 一个SQL命令来进行处理的哦!
[以后统一用这个语句吧!]
set rs = conn.execute("select * from t")
conn.execute("update t set ")
与JSP差不多的哦!
都是可以通过execute动作来执行的哦!
查询出来之后可以这样来得到字段相对应的值的哦!
title=rs("title")

set rs=conn.execute("SELECT Id,Title,author,Content,Addtime,djcount,typeid FROM [new] where id="&r_id)
if rs.eof then
call pop_msgend("无此信息,可能已被删除")
else
title=rs("title")
author=rs("author")
djcount=rs("djcount")
content=rs("content")
addtime=rs("addtime")
typeid=rs("typeid")
end if
set rs=nothing



阅读(30921) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~