Introduction - If you have any usage issues, please Google them yourself
This procedure is to achieve the two functions: data query ( student information student ID query ) and data entry ( student information entry ).
Program name: Jdbc
Database name: Student
Data source name: LPF
Create table name: message ( Student ID, name, birthday ) fenshu ( school, English )
In which:
Class MyFrame: establishment of page styles ( including: form name, menu items ( management of students- students query, student entry- exit system system ), the window content )
Class xscx: query student information ( ID, name, birthday ) design xscx window style the SQL statement entry
Class xstj: add the student information ( ID, name, birthday ) design xstj window style the SQL statement entry.
Subclasses of Database: the establishment of a database connection executing the SQL statement returns a result set