这几个Sm开头的属性我怎么复制到新数据集中?
//得到源数据集记录中的所有字段 FieldInfos infos= srcRecordset.GetFieldInfos(); for (int i = 0; i < infos.Count; i++) { string newFileldName=infos[i].Name; //添加属性字段 if ((newDatasetVector.FieldInfos.IndexOf(newFileldName) == -1)){ FieldInfo layerField = new FieldInfo(newFileldName, infos[i].Type); layerField.IsRequired = infos[i].IsRequired; layerField.DefaultValue = infos[i].DefaultValue; layerField.Caption = newFileldName; newDatasetVector.FieldInfos.Add(layerField); } }