1.<%#strYear%>-<%#(Container.ItemIndex + 1).ToString("d5")%> 2.Console.Write(String.Format("{0:D5}-{1:D5}",num/10000,num%10000));