[求助]编写程序时试运行出错
procedure TForm1.Button1Click(Sender:TObject);begin
ADODataSet1.Active:=true;
ADODataSet1.Insert;
ADODataSet1.FieldByName('姓名').AsString:=Edit1.text;
ADODataSet1.FieldByName('年龄').AsString:=Edit2.text;
ADODataSet1.FieldByName('性别').AsString:=Edit3.text;
ADODataSet1.FieldByName('地址').AsString:=Edit4.text;
ADODataSet1.Post;
ADODataSet1.Active:=false;
ADODataSet1.Active:=true;
end;
以上在试运行时去到 ADODataSet1.FieldByName('性别').AsString:=Edit3.text;
这行出错,小弟刚学的,实在看不出是那里出错了,那位大哥帮我看看,谢谢!!