Click here to Skip to main content
15,920,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i just want how to auto increament a value in a label which increment when a new record added to databas eusing databinding in vb.net

i want this pattern as invoice number=NEU-001-dd/mm/yy

please help me on this code soon thanks waiting for your answers
Posted
Updated 5-Aug-13 2:15am
v2
Comments
Maciej Los 5-Aug-13 8:15am    
Based on which criteria?

1 solution

i think you need to edit the text of the label after every insert in database,
Create a variable and increment it after each insert done ex: int inc;
and in the label put label1.Text = NEU-inc(the integer)-dd/mm/yy
 
Share this answer
 

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