Click here to Skip to main content
15,914,500 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello i am working on java e-project. I want to ask that i have a jtextfield and whenever i click on jtextfield its show me number like this 00001 through sqlserver database and when i save this record next time the jtextfield shows me 00002.


sorry my English is too weak but please help me soon as possible Thank you.
Posted

1 solution

-use label
-use button for saving
- start counting at 0 (starting from 1 is human only!)

most important:

- find simpler project to start programming.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900