This is my Vb.net Project for company i want to generate code for each individual slip so that i get one field as unique field for that i want to use date & slip no to generate unique key. i have attached screen shot my project in this date 21/12/2011 & slip no is 12 now i want to generate unique number as 21121112 (i.e 21/12/2011 as 211211 & slip no is 12 appended at the end)if u have code then attach with your solution
jigarsangoi
0
Newbie Poster
Recommended Answers
Jump to PostYou could do something like this where you pass in the string date and the string slip number and it returns the formatted "key".
The culture info was chosen because it was the first one I could find that expects the month to come before the day in a slash-delimited …
All 3 Replies
thines01
401
Postaholic
Team Colleague
Featured Poster
Begginnerdev
256
Junior Poster
poojavb
29
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.