控件:ADOQuery11、连数据库2、输入语句select*from数据库的数据表名3、设置为TrueDataSource1连控件ADOQuery1Edit1//字段wordEdit2//字段passwordbutton1dbgrid//查看输入的内容代码:adoquery1.Insert;
adoquery1.Fields[0].AsString;//id
adoquery1.Fields[1].AsString:=edit1.Text;//word
adoquery1.Fields[2].AsString:=edit2.Text;//password
adoquery1.Post;