摘要: private static string DataToXml_String(string strReturn) { Hotel r = new Hotel(); r.HotelAttributes = new List(); for (int i = 0; i ... 阅读全文
posted @ 2016-11-08 16:16 哈佛 阅读(488) 评论(0) 推荐(0) 编辑
摘要: string xml = @" 16166 2014-12-28 2014-12-30 199 2 "; PriceRequest list = XmlDeserialize(xml); //反序列化... 阅读全文
posted @ 2016-11-08 16:00 哈佛 阅读(1602) 评论(0) 推荐(0) 编辑
摘要: public enum BedType { [Description("单人床")] SINGLE = 1, [Description("大床")] DOUBLE = 2, [Description("上下铺")] BUNK = 3, [Description("通铺")] DORM_BED = 4 阅读全文
posted @ 2016-11-08 14:14 哈佛 阅读(4202) 评论(0) 推荐(0) 编辑