I need to validate a string that user submit against SPField.ValidationFormula
while adding new record to custom list in c#.
Line to add new record is
SPListItem item = mylist.Items.Add();
I have formula in
column.ValidationFormula
and my string to validate is in this variable
mystringtovalidate
How can I validate mystringtovalidate
against column.ValidationFormula
then if is valid I'll do item.Update();