Author: ashok.k | Posted on: 5/28/2009 5:54:02 AM | Views : 1863

Hi
  I want to generate an unique  15 digit sequence number with prefix.
eg: PT0000000000001 , PT0000000000002 , PT0000000000003..............PT0000000000015,................PT0000000000250
I will start from 1 and append the required prefix at the First 2 characters(PT). I want to append Zeros to make a 15 digit number.
I will store the last increment number in table and add 1 and store it again during next generation.
How to achieve this using C# syntax?
thanks
Ashok
 
...

Go to the complete details ...