Example #1
0
 private FieldType CreateField(String fieldName)
 {
     var field = new FieldType();
     field.Name = fieldName;
     field.Items = new object[] {fieldName};
     field.ItemsElementName = new[] {ItemsChoiceType1.DataField};
     return field;
 }
Example #2
0
 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]);
 }