I received a lot of question regarding the password of a database in any of the program like Hotel Reservation System.
To find the password for the database all you have to do is to look for the connection string of the database in the source code. Most of the programmer, if not all, embed the password in the connection string.
To find it easily, open the code editor window in visual basic and find the term "password" or "pwd".
To have a better picture please watch this video tutorial.