标签:
Random random = new Random();
string strRandom = (random.Next(100, 999).ToString() + "0").Substring(0, 2);
detial.TradingID = this.Trading.Id;
detial.TradingTypeID = this.Trading.TypeID;
detial.Serial = DateTime.Now.ToString("yyMMddHHmmssff") + strRandom;
标签:
原文地址:http://www.cnblogs.com/zhongku/p/4907315.html