Never had this problem before, and i am not sure how this happened.

I got a Mysql sql database for my project.
The id field is set as auto increment, which seems to function correctly.
But on the form in my text field and datagrid i see a negative number, while in the database its a postitive number.
I do not really plan to use the id field right now, but when i do it might cause some problems.

Anybody know why it would show as a negative number on the form(textbox/gridview) and as a positive in the actual database?

Even if it was some mistake on your part, you should mentioned what was wrong. You never know who will repeat same mistake as you and will search for help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.