Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
Dispaly Auto Incremnetd ID
Abdul Quddos
Apr 7 2014 7:35 AM
905
Reply
Hi Experts!
i need to give a unique id to a product on some user selections and display it to user, now i'm accomplishing it first go into db and get the max number, add one to this and finally display complete ID to the user. and now user select some other options and finally hit submit button and get record saved message.
Is it good way? i'm hitting database twice or more depends upon user's selection on changing.
Is there any best solution then plz feel free to suggest
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
Generate Data Grid and Export Excel for Site Collection
Error: A project with an output type of class Library cannot