I think you are being asked to use two fields in a text file, not using a connection string. Doubt that he's ever seen it done that way either.
Just use Print# and Input# to write and read uname, upass instead.