Oledb c# code to auto generated ID in a textbox
I need a c# code that auto generate ID in a textbox
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Dec 19, 2014, 6:27 AM EST
The "D4" format will fill the number out to 4 digits by adding leading zeros if necessary.. So you'll get 0001, 0002 etc.