listview项目保存一个文件夹 [英] listview items save one folder

查看:54
本文介绍了listview项目保存一个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,
我有列表视图,在该列表视图中,我有3列:1.File name(文件名),2.File Path(文件路径),3.Numbers(数字).我有3个按钮,即1.Addfile,2.Save,3.Open.​​

当我单击添加文件"时,文件将从本地主机添加到我的列表视图中.让我们在列表视图中假设10个项目.

当我单击保存"按钮时,所有文件将保存一个文件夹(例如:文件)

当我单击打开"按钮时,从本地主机打开文件文件夹,默认情况下有10个文件将在该3列中添加列表视图.

问候
Vasanthakumar

Dear friends,
I have list view, In that list view i have 3 columns, 1.File name, 2.File Path, 3.Numbers. I have 3 Buttons, 1.Addfile, 2.Save, 3.Open.

When i Click the Addfile the files will add from the local host to my listview. Let Assume 10 items in the listview.

When i click the save button this all files saves one folder(Ex:file)

When i Click Open button, open the file folder from my local host the 10 files defaulting will add the listview in that 3 column.

Regards
Vasanthakumar

推荐答案

看看这些..

http://msdn.microsoft.com/zh-CN /library/windows/desktop/bb774736(v=vs.85).aspx [使用具有类似GridView的界面的ListView插入新记录 [ ^ ]
have a look on these ones..

http://msdn.microsoft.com/en-us/library/windows/desktop/bb774736(v=vs.85).aspx[^]
and
Insert a new record using ListView with a GridView-like interface[^]


这篇关于listview项目保存一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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