Listview列管理器 [英] Listview Column Manager

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

问题描述

我有一个这样的列表视图:

I have a list view like this:

它有很多要显示的字段。我想要的是拥有一个属性,其中数据库表中的所有字段将列在清单框或其他列表视图中,它将检查已在列表视图中显示的所有字段。通过单击向上移动并向下移动的checklistbox项,属性还应该在字段序列中安排
。就像在窗口文件资源管理器属性中一样,如下所示:

It has lot of fields to show. What I want is to have a properties where all fields from database table will list in a checklistbox or another listview and it will check all the fields that already showing in the listview. The properties should also do arranging the fields sequence by clicking the checklistbox item with move up and move down. Just like in window file explorer properties like shown below:

我怎么能这样做?任何人请...

How can I do this?anyone pls...

推荐答案

列表视图不是为数据库表。数据库表包含每行的项目。列表视图中只有一行可以使用子项进行扩展。 

A listview is not made for a database table. A database table has items for every row. A listview only one item on a row which can be extended with subitems. 

使用DataGridView

Use a DataGridView


这篇关于Listview列管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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