Avatar of miksuFin
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+"'.
C#

Avatar of undefined
Last Comment
Chris Stanyon

8/22/2022 - Mon