We help IT Professionals succeed at work.
Get Started

Visual Studio - C# Code

Joe Brown
Joe Brown asked
Last Modified: 2012-04-26
Our lot numbers have a three digit auto sequential number on the tail end. The first letters represent the product, year and month. The 3 numbers represent the batch that was made that month. So, at the beginning of each month, we need to have an either automatic update that will know when it is the first day and first entry of the new month and roll the 3 digit code back to 000. Or if automatic is not feasible, a button that onclick will roll the number back to 000 but I would need an error message to populate at the first entry of the month. Any ideas for a code to achieve this goal? I am using Visual Studio and C#
Watch Question
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE