@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		//µȷťִвSQL
		if (e.getSource() == button1) {
			StudentBiz model = new StudentBiz();		//ʵҵ
			String sql = "insert into tb_student values(?,?,?,?,?,?)";
			String[] params = new String[] {tField1.getText().trim(),
					tField2.getText().trim(),tField3.getText().trim(),
					tField4.getText().trim(),tField5.getText().trim(),
					tField6.getText().trim()};
			model.updateStu(sql, params);
			this.dispose();
		} else if (e.getSource() ==button2) {
			this.dispose();
		}
	}