08-01-2013, 01:04 PM
hello,
i am trying to find indexes of items from a string.
i introduce a string in a textbox and click on a search button which has this function:
listBox1.FindString(textBox1.Text)
but with this, i only get first index.
how could i do to get all indexes?
i have tried
int[] idxs = listBox1.FindString(textBox1.Text)
but idxs is array type and listBox1.FindString(textBox1.Text) is int type, so i get an error.
could anyone help me please?
thanks in advance.

