public bool Parse(int formId, int formNo) { string tableName = string.Format("tb_{0}", formId); Object obj = CommonDataAccess.GetColomnValue(ConditionSubField, tableName, formNo);; if (obj != null) { string columnType = CommonDataAccess.GetColumnType(tableName, ConditionSubField); Compare compare = (Compare)Assembly.Load("SimpleFlow.BusinessRules").CreateInstance("SimpleFlow.BusinessRules.Compare" + columnType.ToUpper()); compare.VariableA = obj; compare.VariableB = ConditionSubValue; compare.Operator = ConditionSubOperator; return(compare.GetResult()); } return(false); }