private FieldType CreateField(String fieldName) { var field = new FieldType(); field.Name = fieldName; field.Items = new object[] {fieldName}; field.ItemsElementName = new[] {ItemsChoiceType1.DataField}; return field; }
private Rdl.FieldType CreateField(String fieldName) { Field f = new Field(); f.DataField = new string[]{ fieldName}; Rdl.FieldType field = new Rdl.FieldType(); return f.Create(m_allFields[fieldName]); }