Good day guys can you help me, I have this error called Object reference not set to an instance of an object in my code. here is the code.

Also this is the winforms

I want the data to fill in the textboxes.
This is the data

and this is my procedure

this code is actually from my previous questions I have to change because of some circumstances.
It actually work once but the other day when I want to try it, it is not working I'm sorry.