© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
17 replies
HappyTeaKid

POST SQL Identity keeps returning id = 0 [Answered]

As you can see it keeps returning 0 value.
It actually creates an object with different id in the database.
How can I get the proper value?
id0.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Identity SQL error
C#CC# / help
4y ago
ASP.NET Identity, get User ID on POST Request
C#CC# / help
13mo ago