Hello all,

I'm trying to make a program in CSharp where you can search up a person with their first name, at this current time I have made it search up but it will only work with one name.

What I have now:

Person Search function-ghthszx-png
Person Search function-71lpmxh-png
Person Search function-uwx7g7m-png

But I want to be to able to search up someones name i.e "John" and it will list all the Johns in the database and you can click view and it will view all the other information like the 3rd image. But I can't get my head around on how I am able to list all Johns like so:
I.E.
Person Search function-wqbqccc-png

and be able to click view and see all other information etc.

Thanks.