Reconstruction of the computer room charge system, the function is constant, the demand is unchanged, the system behind the code, the structure has changed. I did the vb6.0 version of the system.
using the VS vb.net platform, by adjusting the program architecture, the design patterns are added to improve the quality and performance of the software and improve the extensibility and maintainability of the software. Compared to the previous version of the system, the main highlights of the new system are:
Highlight one: Code layering management, clear and concise
Highlight two: Add to the factory and interface, code reuse more, reduce duplication or similar code.
Highlight three: A stored procedure is used. On the one hand, the amount of code is reduced, and the other is the execution of a transaction. For example, registration or checkout requires the same
When you manipulate multiple tables, these tables must be successfully manipulated before the function can be completed. The advantage of using a stored procedure over one table is that when there is a
Table does not complete related operations, other tables cannot be completed.
Highlight four: DataGridView replaces the DataGrid in the VB6, which is more flexible to operate. You can bind the database, directly display the data in the database, or
Add by code.
Highlight five: DataTable to a generic collection, separating the data in the table. such as recharge after the data in the table into a collection back to the U-level display.
Highlight six: report design personalized, beautiful and generous.
Summary:
The computer room fee system implementation process, I feel very fresh place is basically these, the realization process invested a lot of time. From unknown to cooked
I have a great sense of accomplishment and a pleasant mood. The process of learning requires constant exploration and discovery, exploring the unknown and discovering new lands.
VB.net edition computer room fee system reconstruction of the growth process (functional implementation)