由网友(爱笑的萌汉纸)分享简介:我如何可以检索多列列表框选择行的指定列的值?How can I retrieve the value of specified column of the selected row in a multicolumn listbox?我填充列表框设置行来源属性与SQL字符串。绑定列的值设置为1。I populate...
我如何可以检索多列列表框选择行的指定列的值?
How can I retrieve the value of specified column of the selected row in a multicolumn listbox?
我填充列表框设置行来源属性与SQL字符串。绑定列的值设置为1。
I populate the listbox by setting the RowSource property with a SQL string. BoundColumn set to value 1.
我可以使用 ListBox.Value
检索绑定列(所选行)的值。但我也希望另一列的值。
I can retrieve the value of the bound column (of the selected row) by using ListBox.Value
. But I also want the value of another column.
推荐答案
使用 listboxControl.Column(intColumn,intRow)
。列和行都是从零开始的。
Use listboxControl.Column(intColumn,intRow)
. Both Column and Row are zero-based.
相关推荐
最新文章