Ejemplo n.º 1
0
        private static string GetIDImage(int noImg)
        {
            StringBuilder builderId = new StringBuilder();

            builderId.Append("{0}{1}");
            builderId.Replace("{0}", DateUtil.ConvertDateTimeToJulianYYJJJ(DateTime.Now).ToString()); //Add Julian part to Id
            builderId.Replace("{1}", noImg.ToString("D5"));                                           //add imgNumber to Id
            return(builderId.ToString());
        }