Hi JOYSON,
You need to change the select query and pass the parameter as per your requirement.
Since you are passing email id you need to write the select query like below.
using (SqlCommand cmd = new SqlCommand("SELECT pan, bankname, branch_code, bank_address, account_type, account_no, ifsc_code FROM tblmadmin WHERE UserName = '" + userName + "'"))