默认头像
路人甲
路人甲
  • 注册日期2004-04-30
  • 发帖数11
  • QQ
  • 铜币161枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1118回复:0

还是用C#往空白图层加数据的问题

楼主#
更多 发布于:2004-09-22 19:23

for(int i=0;i     Layer.Records.IMoFields.Item("Id").Value=i;      Layer.Records.IMoFields.Item("Shape").Value=Col.Element(i);      Layer.Records.IMoFields.Item("name").Value="Name"+Convert.ToString(i);      Layer.Records.IMoFields.Item("area").Value=Col.Element(i).Area;      Layer.Records.StopEditing();      Layer.Records.Update();     }    }

在执行完粗体那行后就出现"There are no records in the Recordset"的错误,请大家帮忙解决一下。

喜欢0 评分0
默认头像

返回顶部