public enum BookType{Ticket,Trip,Hotel}从String到enumBookType type = (BookType)Enum.Parse(typeof(BookType),"Ticket");从enum到String方法一:ToString();方法二:s = Enum.GetName(typeof(BookType), BookType.Ticket);