Страница 1 из 1

Obtain selected items of ListBox control

Добавлено: 15 окт 2009, 07:21
joris.spriet
Hi,

sorry for writing in English - my Russian is too bad.

We use Stimulsoft Reports.NET 2009.1 for our product.
In a report, I use a form with a listbox. The selection mode is set to "multiple extended".
How can I get all selected items ? I want to pass it to a custom datasource (we wrote our own provider).

Thanks in advance for your answer,

Joris Spriet

Obtain selected items of ListBox control

Добавлено: 15 окт 2009, 22:05
Jan
Hello Joris,

You can use following code:

Код: Выделить всё

listBoxControl1.Control.SelectedItems
p.s. You can use English version of our forum: forum.stimulsoft.com

Thank you.