How to maintain Zeros in incremented values
ex: ECJ-00001
any help willb appreciated
this is how I am icrementing
Dim Separ As String() = fullString.Split("-")
Dim StrPart As String = String.Format(Separ(0), "ABC", System.String.Format("SIM"))
Dim intPart As Integer = Convert.ToInt32(Separ(1))
Dim Novonumero As String = String.Empty
Novonumero = String.Format("{0}-{1}", Separ(0), System.Threading.Interlocked.Increment(intPart), 1)
lblTicketNumber.Text = Novonumero
Thank you