Pavithra L

Pavithra L

  • NA
  • 336
  • 64.2k

How to reset the DC number based on the year in c# window ap

Sep 22 2015 12:33 AM
Hai,
 
In my project am using nearly 40 forms. Here am using delivery details forms. In this am storing the records based on the DC number. In this I want to reset the DC number year by year. How can I reset this in my project.
 
Here this  DC number number will be automatically increment in that textbox.  
 
Example:
 DC_No : 1/2014...........................10000/2014 in year 2014 and rest this will in next year like
 DC_No : 1/2015............................10000/2015 like this. Year by year like wise it will automatically reset. How can I do this in my project.
 
Please anybody help this question ,I need to finish it quickly. Please suggest any Idea to do this.
 
Thanks in advance. and also am I waiting for your reply. 

Answers (12)