I am working on ASP.Net using C# I want to generate a sequence id that should be like this:
ELG0001 , ELG0002, ...
ELG is the PREFIX and 0001 should be in sequence
I am using sql server 2005
This ID will be generated and added to my database. How can I do this?
can you help me with coding?
using this code we can do it simply
thanxx for the help
just add the method CJ()
as i have done here