void __fastcall TForm1::Button4Click(TObject *Sender) { ADOQuery1-> Close(); ADOQuery1-> SQL-> Clear(); ADOQuery1->SQL->Add("Insert into CJB(Number,XM,XH,SX,YW,YY) Values(01,02,03,04,05,06) ") ; ADOQuery1-> ExecSQL(); }
void __fastcall TForm1::Button4Click(TObject *Sender) { ADOQuery1-> Close(); ADOQuery1-> SQL-> Clear(); ADOQuery1->SQL->Add("Insert into CJB(Number,XM,XH,SX,YW,YY) Values(01,02,03,04,05,06) ") ; ADOQuery1-> ExecSQL(); }