posts - 1, comments - 0, trackbacks - 0, articles - 0
  语源科技BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

2007年9月12日

1public static string GetNewID()
2    {
3        return System.DateTime.Now.ToString("yyMMddhhmmss") + System.Guid.NewGuid().ToString().Substring(0, 8);  
4    }

posted @ 2007-09-12 10:40 深蓝浅灰 阅读(249) | 评论 (0) | 编辑 收藏