账号通
    

账号  

密码  

5826

查看

4

回复
主题:怎么实现Sql获取传过来的参数 类似.asp?id=1 [收藏主题] 转到:  
yelom 当前离线

609

主题

9

广播

3

粉丝
添加关注
级别:六年级

用户积分:1126 分
登录次数:354 次
注册时间:2007/6/15
最后登录:2021/8/30
yelom 发表于:2013/2/27 20:18:54   | 显示全部帖子 查看该作者主题 楼主 
1.支持使用{ReqNum(字符串)}或{ReqStr(字符串)}来取得Url的参数值

如:http://www.kesion.com/index.asp?ClassID=100,那么sql语句:select top 10 foldername from ks_class where classid={ReqNum(ClassID)} 将自动转换为select top 10 foldername from ks_class where classid=100
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.06641秒 powered by KesionCMS 9.0