Avatar of miksuFin
Flag for Finland

asked on 

C# How to pick Person id from listbox string?

I have listbox which has many rows.
First word in every row is PersonId.
I want pick this Person Id and use it in SQL Query like this: " SELECT * FROM mydatatable WHERE ID = '"+ PersonId+"'.

Avatar of undefined
Last Comment
Chris Stanyon

8/22/2022 - Mon