public string GetEnumString(string EnumTypeName, object Value)
{
SetError();
try
{
Type type = GetTypeFromName(EnumTypeName);
return Enum.GetName(type, Value);
}
catch(Exception ex)
{
SetError(ex.GetBaseException());
throw ex.GetBaseException();
}
return null;
}