且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将值读取到Access数据库中的列表框

更新时间:2023-11-27 11:17:52

您需要选择所有三个值,然后将它们与空格一起添加,然后一次将它们全部添加到item.Add调用中.您还可以创建一个用于保存项目的类,并具有所有三个名称的属性,以及一个ToString方法,该方法返回格式化的名称,并使所有项目成为其中之一.
You need to select all three values then add them together with spaces and add them all at once in the items.Add call. You could also create a class that holds items, and has properties for all three names, and a ToString method that returns the formatted name, and make all of your items one of those.