You have this in your click handler:
Dim f1 As New Form1
Dim S As String
S = f1.t
which reads as:
create new object of type Form1
create string variable S
Assign to that variable value of t
t is currently empty string.
WHY?
Because you're creating new form1, in the constructor you're not changing that variable and it is set
Shared emp_no As String = ""
Shared emp_adhaar As String = ""
This will change only when you click on your button and access the database. AFTER that click, you would have some value, but not as you have written it.
Also, if you use Shared variables, why not access them through shared property? That way you wouldn't have to have Form1 instance, you'd just write Form1.t
If I were you, I'd remove Shared from emp_no, rename the forms so that names have a meaning (frmLogin, frmEmployees, frmEmployee etc...), same for controls (btnLogin etc), maybe write Employee class which would be passed around from form to form instead of having references to other forms just for data access.
I hope this helps.