| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 865 人关注过本帖
标题:在查询结果中有选择的挑选列值,可以吗?
只看楼主 加入收藏
fsxw
Rank: 1
等 级:新手上路
帖 子:16
专家分:0
注 册:2005-4-13
收藏
 问题点数:0 回复次数:0 
在查询结果中有选择的挑选列值,可以吗?
Dim dr As OracleDataReader
                    dr = cxcmd.ExecuteReader()
                    While dr.Read '读取Reader中数据
                        Select Case dr.Item("ye")
                            Case 111
                                zz3y = dr.Item("ye")
                            Case 112
                                zz6y = dr.Item("ye")
                            Case 113
                                zz1n = dr.Item("ye")
                            Case 114
                                zz2n = dr.Item("ye")
                            Case 115
                                zz3y = dr.Item("ye")
                            Case 116
                                zz5n = dr.Item("ye")
                            Case 117
                                zz8n = dr.Item("ye")
                            Case 121
                                lz1n = dr.Item("ye")
                            Case 122
                                lz3n = dr.Item("ye")
                            Case 123
                                lz5n = dr.Item("ye")
                            Case 0
                                zye = dr.Item("ye")
                            Case 2
                                hq = dr.Item("ye")
                        End Select
搜索更多相关主题的帖子: 结果 挑选 查询 选择 
2005-04-21 08:38
快速回复:在查询结果中有选择的挑选列值,可以吗?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026662 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved