CodePudding user response:
If I were you, I will be in the database, time to write a stored procedure and then refresh the temporary table or view. MFC interface and only responsible for user interaction, such as click to view tickets to query the database of the temporary table or view, there is a stored procedure to refresh regularly, save the current moment later train number information)