im trying to increment numbers every save into database but my problem is how to set limit range for example 1, 2, 3, and then the next number is back to 1.? my code is working to increment but i dont know how to set limit and return to numbers. ill try some code to set limit it doesnt work. im beginner in c#.

Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 23, 2019, 5:35 PM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Apr 23, 2019, 5:41 PM EDT
Denmark PusoRank #7,130 · 248 reputationPosted Apr 23, 2019, 6:14 PM EDT
Rajanikant Hawaldar
Denmark PusoRank #7,130 · 248 reputationPosted Apr 23, 2019, 6:22 PM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Apr 23, 2019, 7:44 PM EDT