Sir,
need to generate 8 digit unique id on every button click. As every time data saved to database a 8 digit unique id will generate and save to database. Id should starts from 00000001 and goes on by incrementing 1. No two id's would be same.
eg :
00000001
00000002
.
00000009
00000010
00000011
in this way.... any suggestion would be helpfull....
Well is it not possible for to create a demo for a simple thing. Whatever integer ID you have in database you can prefix 0's as following
int id = 1; lblId.Text = id.ToString().PadLeft(8, '0');
Thus there is no need to store
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.