The production of the alumni communication data management program has spent 4 days, during which many problems have encountered, fortunately, I got the help of classmates and netizens. After a few days of learning and practice, the program was completed. This program is the first application program I have written. For more than two months old asp.net, since the time and course have not tried to write an apprayable applet, now I finally completed my first time. In fact, there is a chance to contact the development of the application and learn the asp.net because I joined the college website studio. I am a role in the studio, mainly responsible for the basic website application under the .NET platform Development. When I first arrived, I face a learning process, using 10.1 holiday, learn C #'s basic knowledge, and later programming I decided to use C # and no longer VB. Then I want to be hot, so I wrote this alumni communication information management program. The following time I will share my production work in the past few days, as well as the problems and solutions, if you are also an ASP.NET novice. Everyone has its own first time, the programmer is naturally. In the preparation of the alumni communication data management program, I left many for the first time. The first day of work is the layout, this is my first layout. Time for a late self - study, pen on paper on the work desk. At first, I divided into two pages, a data display leaf page, used to filter the sort database data and displayed, and the other is the editing page to provide the user operation function. It seems that this is the case with an edited DataGrid. It can take into account the security of the data. This method is incapable, and the data security requires a strict monitoring and verification of the user's operation. Then I list the methods used in each page. The data display page is simpler, contains a DataGrid control and a connection button to the navigation. Editing the page is complex. I divide the edit page into four modes, put it in four panel controls and via the code control mode. Page loading is the default as welcome mode, welcome mode species containing friendly reminder, and the jump button to update and insert mode, the bottom is the jump button to the navigation page. Then the update mode contains the DROPDOWNLIST control that is bound to the QQ number. This control has two methods, namely the binding of the database QQ number field executed when the page is loaded, and the DROPDOWNLIST control is used, and the later method is used. In several TextBoxs on the page on the page when the user selects the QQ number, these TextBox corresponds to different fields of database criteria data. After entering the update information, click the OK button and verify the control to start working. After the page is verified, the update method is executed, and the SQL statement is used to update the database data update in the update method. If you click on the exit page, jump to the edit page Welcome mode. Determine and exit button I use the parameter linkButton, write a method in the code to detect the parameters in the code, and then call the corresponding method. The insert mode and update mode points to indicate that TEXTBOX is changed to the binding QQ number, thus binding and selecting the method, however, is the detection method for the input QQ number existing. It hasn't talked about the fourth model here. In fact, the fourth mode is automatically called after performing a finished and inserted SQL method. The fourth mode can be called whether to continue editing mode, there is a label on the page. Two LinkButton buttons, the button specifies the jump to the corresponding page via the front-written parameter detection method. Call, finally finished, seemingly simple programs, the implementation method of the user request is so cumbersome, I was a shock at the time.
However, it is very delicate to provide the efficiency of the method to reduce the efficiency of the method. (To be recein ...)