Last post Sep 25, 2019 12:18 PM by mgebhard
Sep 25, 2019 09:11 AM|Gopi.MCA|LINK
I have one for example dataentry.aspx page
Here on textbox1 i want to create unique no example ABC-01
If multi user access same page then how we can get each unique no on textbox1
Sep 25, 2019 12:18 PM|mgebhard|LINK
This is a fairly straight forward task and you've asked several similar question to this in the past. Perhaps review you previous code and threads.
Create a table with at least an Identity column. Add a new record on page load or whatever event you wish. Then concatenate "ABC- to the identity.
You can also serialize access to a static variable and simply increment the variable on each page load or whatever event. This is not ideal because the variable will reset each time the application starts.
Please share the code that you have written to this point. Explain the expected results and actual results.