Obtain selected items of ListBox control

Обсуждение Stimulsoft Reports.NET
Ответить
joris.spriet
Сообщения: 1
Зарегистрирован: 15 окт 2009, 07:17
Откуда: Belgium

Obtain selected items of ListBox control

Сообщение 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
Jan
Сообщения: 495
Зарегистрирован: 19 фев 2009, 11:14

Obtain selected items of ListBox control

Сообщение 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.
Ответить