Announcements
No record found.
Hii guys,
For example: Here ,My column is sr.no,and this sr.no is a primary key .I write this logic,but I am getting output in sr no start with 0.
I want sr .no starts with 1.
Is there is any way to do this.
Hi,
You can set field property as per below,
AutoIncrement=true;
learn.microsoft.com/.../devenv-autoincrement-property
No. Actually I want write a logic for sr no gets automatic.
We don't want autoincrement property.
My result is come, but it starts with 0.
I want number starts with 1.
Try below code
Thank you .It works.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 674 Super User 2026 Season 2
YUN ZHU 362 Super User 2026 Season 2
AndrewThomas81 359 Super User 2026 Season 2