public void AddField(string Caption, string FieldName) { PLReportDataField newField = new PLReportDataField(Caption, FieldName); newField.ID = Fields.Count; Fields.Add(newField); }
public void AddField(PLReportDataField field) { field.ID = Fields.Count; Fields.Add(field); }