开发者

i have a list box which loads a column from ms access but how to remove repeated words in vb.net

I have a list box that loads data from 开发者_JS百科MS ACCESS but i want to filer the words..

The O/P of listbox

bmw yamaha suzuki audi bmw suzuki

This is how it dipsplays but actually i want like this

bmw yamaha suzuki audi

How can we do this in vb.net


If you are using a SQl statement to load the data you can use the distinct keyword:

Select distinct name from mytable

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜