Auto Incremernting User's Id in Customized format

Posted by Self-Innovator under ASP.NET on 10/26/2012 | Points: 10 | Views : 1242 | Status : [Member] | Replies : 2
Hi,
I wanted to Generate the sequence of userid in an alphanumeric format. How do i achieve this
Ex:
User1 ID:Abc01
User2 Id:Abc02
User3 Id:Abc03
Please find me the soln..

Join Hands Change lives
Thanks & Regards
Straight Edge Society



Responses

Posted by: Santhi on: 10/26/2012 [Member] Starter | Points: 25

Up
0
Down

Hi,

for(int i = 0;i < 10; i++)
{
string strID = "User"+i +"ID:" +"Abc" + i;
}

Like this you can generate the ID.

Thanks & Regards,
V. Santhi

Thanks & Regards,
Santhi .V

Self-Innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: reddysankark-13471 on: 10/27/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Santhi,

could you please give me complete coding for Emp01

sankarreddy

Self-Innovator, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response