我是以c/s结构作为数据上传的!我在客户端用dcomconnection和clientdataset连接服务器端的数据库!
我的程序:
with dm.CDS_CW_01 do
     begin
      append;
      FieldByName(’cwdh’).AsString:=edit1.Text;
      FieldByName(’rq’).AsVariant:=strtodate(edit2.text);
      FieldByName(’jxcdh’).AsString:=edit3.text;
      FieldByName(’gh’).AsString:=edit4.text;
      FieldByName(’sh’).AsString:=edit5.text;
      Post;
     ApplyUpdates(0);
    showmessage(’已保存!’);
     end;
可程序运行时不会出错!为什么我的数据上传不了呢?谢谢指教!