可以用 adoquery
加SQL语句 Insert into ... 增加
          Update ...      修改
           Delete ...      删除
执行:ExecSQL;

解决方案 »

  1.   

    能讲详细点吗?我刚学,我想从一个edit中获得值,然后对数据库进行修改!
      

  2.   

    procedure TadduserForm.Button1Click(Sender: TObject);
    begin
    if (useredit.Text='')then
    begin
    application.MessageBox('用户名和密码不能为空','注意',mb_iconquestion+mb_ok);
    end
    else
    adotable1.Insert;
    adotable1.FieldByName('username').asinteger := strtoint(userEdit.Text);
    adotable1.Post;
    end;匹配问题又是不对,帮我瞧瞧,谢谢了