// Open the connection system.data.oledb.oledbconnection con = DataAccess.connection.OleConnection;
When the main page is initialized, open the connection first, casually assign a value.
Think although you first double-click the icon to wait for a few seconds, but you will be more fast from the login page to the main page.