在ListView中增加价值的问题 [英] Problem to add value in listview

查看:67
本文介绍了在ListView中增加价值的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在从具有文件大小,创建日期和文件类型的目录中加载所有文件名.
我能够使用listview项目将所有数据存储在c#中,但是在wpf中使用它时会遇到问题.

问题在于将listviewitem对象添加到listview.
我在Google上进行了搜索,但没有找到从数据库中加载不需要的数据的解决方案.

请帮助我

Hi,

I am loading all file names from a directory with file size, creation date and file type.
I am able to use listview item to store all data in c# but I face problem when I use it in wpf.

The problem is in adding listviewitem object to listview.
I have searched on Google but I have not found a solution that loads data from database which I don''t need.

Please help me

推荐答案

查看这些链接,这些链接处理ListView上的数据绑定以及其他更多内容:

http://www.codeproject.com/KB/WPF/wpfintroduction.aspx [ ^ ]

http://www.codeproject.com/KB/WPF/DsxGridCtrl.aspx [ ^ ]

http://www.codeproject.com/KB/WPF/WPFGroupSortingListView.aspx [ ^ ]

http://www.codeproject.com/KB/WPF/DsxGridCtrl.aspx [ ^ ]
Check out these links which deal with databinding on ListView and much more:

http://www.codeproject.com/KB/WPF/wpfintroduction.aspx[^]

http://www.codeproject.com/KB/WPF/DsxGridCtrl.aspx[^]

http://www.codeproject.com/KB/WPF/WPFGroupSortingListView.aspx[^]

http://www.codeproject.com/KB/WPF/DsxGridCtrl.aspx[^]


Clickety [

这篇关于在ListView中增加价值的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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