发新话题
打印

[求助]请大家帮我看看这是选择语句如何?

[求助]请大家帮我看看这是选择语句如何?

大家好!
很想得到你们的帮助,我想在ASP中调用注册用户选择的模板出来,不知道怎么回事,选择的时候总是显示用户累加起来的。我只是想单单显示他所登陆的用户选择的项目。

我使用的语句是:sql="select channel_name from templat_channel,templat_select where templat_channel.id=templat_select.channelname_id and user_id="&session("user_id")&""
希望得到大家帮助!
附件: 您所在的用户组无法下载或查看附件

TOP

[求助]请大家帮我看看这是选择语句如何?

***** 版主模式 ***** 该贴子是管理员从网页设计转移过来的!

TOP

[求助]请大家帮我看看这是选择语句如何?

李兄。。。帮帮偶看看..

TOP

[求助]请大家帮我看看这是选择语句如何?

sql="select templat_channel.channel_name as name1,templat_select .channel_name as name2 from templat_channel,templat_select where templat_channel.id=templat_select.channelname_id and user_id="&session("user_id")&""
读取name时也要主意是rs("name1")还是rs("name2")吧

TOP

[求助]请大家帮我看看这是选择语句如何?

版主:rs("name1")还是rs("name2")
form templat_channel,templat_select 这个相当于定义了吧..
我试过你所说的方法,调出来的结果一样。。

TOP

发新话题