public bool Insert(int FormFieldId, string FieldColumnValue, string FieldColumnHelp, int FieldColumnGrade) { FormFieldColumnDAC formfieldcolumnComponent = new FormFieldColumnDAC(); int FormFieldColumnId = 0; return(formfieldcolumnComponent.InsertNewFormFieldColumn(ref FormFieldColumnId, FormFieldId, FieldColumnValue, FieldColumnHelp, FieldColumnGrade)); }
public bool Insert(FormFieldColumn formfieldcolumn) { int autonumber = 0; FormFieldColumnDAC formfieldcolumnComponent = new FormFieldColumnDAC(); bool endedSuccessfuly = formfieldcolumnComponent.InsertNewFormFieldColumn(ref autonumber, formfieldcolumn.FormFieldId, formfieldcolumn.FieldColumnValue, formfieldcolumn.FieldColumnHelp, formfieldcolumn.FieldColumnGrade); if (endedSuccessfuly) { formfieldcolumn.FormFieldColumnId = autonumber; } return(endedSuccessfuly); }