列表框多列 [英] List Box Multiple column

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

问题描述

hi ..
我想在列表框中显示两列.我想在列表框中显示公司名称和联系人姓名.

hi..
i want to display two column in List Box. I want to display Company name and Contact Name in List Box.

推荐答案

类似于列表但带有列的内容是ListView.

但现在,.NET中至少有三个针对不同的应用程序类型或UI库:

http://msdn.microsoft.com/en-us/library/system. windows.controls.listview.aspx [ ^ ](WPF),
http://msdn.microsoft.com/en-us/library/system. windows.forms.listview.aspx [ ^ ](System.Windows.Forms),
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview.aspx [ ^ ](ASP.NET).

您需要确定要使用哪种应用程序,并在问问题时始终标记此应用程序类型或库.标签可以是:WPF,Forms,Silverlight或ASP.NET.

—SA
Something like a list but with columns is ListView.

But now, there are at least three of them in .NET, for different application types or UI libraries:

http://msdn.microsoft.com/en-us/library/system.windows.controls.listview.aspx[^] (WPF),
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.aspx[^] (System.Windows.Forms),
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview.aspx[^] (ASP.NET).

You need to decide which one do you use and always tag this application type or library when asking the question. The tags can be: WPF, Forms, Silverlight or ASP.NET.

—SA


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

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