添加按钮:
if (Edit1.Text<>'') and (Edit2.Text<>'') then
insert into 学生表 values(学生编号,姓名,性别,是否毕业)
with ADOQuery1 do
   begin
   close;
   SQL.Clear;
   SQL.Add('select count(*) as sl from 学生表 where not 毕业');
   open;
   end;删除按钮:
 with ADOQuery2 do
    begin
      SQL.Clear;
      SQL.Add('delete from 学生表 where not 毕业');
      ExecSQL;
      SQL.Clear;
      close;
    end;
close;再次按添加的时候,出现错误“数据存储中此行的健值已被更改或删除。现在此行已被删除”