Listview功能:查看多列,双击操作 [英] Listview function: multicolumn viewed, double click action

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

问题描述

大家好,

我现在正在开始使用listview函数.我尝试在Google中找到有关ListView中功能的信息,但它不起作用.我不知道为什么,或者我不知道该代码与.net 2010兼容.

1)我想填写一个名字和DOB.当用户单击添加"时,来自两个txtbox的数据都应填充列表视图,并以1行和2列显示.并可以在列表框中显示每列的标题,例如:

名称DOB
杰里米1997年11月9日

2)并说,已经有2个数据表示2个人.然后,当用户双击任何数据时,将显示一个消息框或表单或对话框.



....有人可以告诉我成功运行的编码吗?代码是否来自您的步骤都无关紧要.因为我需要的只是代码流.谢谢您.

Hi all,

i''m now currently start using the listview function. i try to find in the google about the function in the listview, but it''s not work. i don''t know why or if i not know the code is compatible with .net 2010.

1) i want to filled a name and DOB. when user click "ADD", the data from both txtbox should fill the list view and view as 1 row and 2 column. and can the listbox show the title for each column eg:

Name DOB
Jeremy 11/09/1997

2) and let say, there already have 2 data which mean 2 person. then when user double click on any of the data, a messagebox or form or dialog will be display.



....can anyone tell me the coding that succesfully run? it doesn''t matter whether the code is from your step. because all i need is the flow of the code. thank you

推荐答案

您应该标记要开发的应用程序类型.

如果它是Web应用程序,则可以在此处找到信息[^ ].

如果是Winforms应用程序此处 [此处 [
You should tag what type of application you are developing.

If it''s a Web Application you can find information Here[^].

If it''s a Winforms Application Here[^].

If it''s a WPF Application Here[^].

You should find what you are looking for in one of those Links (all MSDN Links)


这篇关于Listview功能:查看多列,双击操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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