如何在ComboBox中省略表的第一条记录 [英] How to omit first record of a table in ComboBox

查看:47
本文介绍了如何在ComboBox中省略表的第一条记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我有一个名为GroupName的列表

以下是表格数据

Hi all

I have one table with column called "GroupName"
below is the table data

IGID|	GroupName  |	  Under
6   |	NA	   |        0
13  |	Shirting   |	    6
14  |	Raymonds   |	    13
15  |	Vimal	   |        13



现在绑定GroupName时,我不希望NA被绑定。从NA所有应该绑定



请告诉我该怎么做..


Now while binding the GroupName, i don't want "NA" to be binded..apart from NA all should bind

Please tell me how to do this..

推荐答案

你可以排除您不希望查询的结果:

You could exclude the result you do not want with the query:
SELECT [IGID], [GroupName], [Under]
FROM [YourTable]
WHERE [IGID] <> 6


这篇关于如何在ComboBox中省略表的第一条记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆