阅读:959回复:0
c# +mo保存trackinglayer时错误!
<P>layer.Records.EditMode = MapObjects2.EditModeConstants.moEditAdd;<BR> for (int i = 0;i < m_tLayer.EventCount-1;i++)<BR> {<BR> layer.Records.AddNew();<BR> layer.Records.Fields.Item("shape").Value = m_tLayer.get_Event(i);<BR> <BR> }<BR> layer.Records.Update();<BR>这段代码 提示错误 <BR>unable to write read-only property!<BR> 我的文件不是只读的啊 为什么呢 希望大家多帮忙!<BR></P>
|
|