列表视图显示(如何避免重复数据) [英] List view Dispaly(How to Avoidthe repeated Data)

查看:115
本文介绍了列表视图显示(如何避免重复数据)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用列表视图...我想要显示前5个项目,我想突出显示5个项目,对于此要求使用从表格中选择顶部* 5,其删除前5项......但再次列出查看显示这些5item ...我不想要重复的项目...如何达到此要求...(使用3listviews)

Am Using A list view ...I Want to dispay the top 5items ,i want to Highlight that 5items,for this Requirement Am Using Select top*5 from Table,Its disaplays Top 5 items ....But Again List view Dispalying these 5item...I dont want duplicate items...How to Achive this Requirement...(Am Using 3listviews)

推荐答案

您的列表框将显示你想要的任何物品。如果您将项目从一个列表框移动到另一个列表框,则需要从一个列表框中删除并放置另一个列表框。这完全归功于您的代码将项目放在您想要的位置,或维护为您执行此操作的数据源。
Your list box will show whatever items you want them to. If you move items from one listbox to another, you need to remove from one and place in another. It''s all down to your code putting items where you want them, or maintaining data sources that do that for you.


这篇关于列表视图显示(如何避免重复数据)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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