如何在c#中列表框中的项目之间设置空格

如何在c#中列表框中的项目之间设置空格

问题描述:

我想在c#windows中的列表框中的项目之间设置空格应用程序可以任何人帮助

I would like to set space between items in listbox in c# windows Application Can anybody help

如果要从数据库获取数据,请将查询修改为包括这个空间。

例如从myTable中选择colA +''+ colB
If you are getting data from the database, modify your query to include this space.
For e.g. select colA + ' ' + colB from myTable