Possible Duplicate:
auto generating numbers
how to increment a numbers in textbox control in c# windows app.samples like s001 and should be increment always when i come to form it should be like s002.where should i have to write a code either in textbox or forml_load event.