Hi All
Iam new in asp.net. I have followed the tutorial in asp.net mvc 4 for creating web app. When connecting with ms sql server i can enter many view data.(works fine)
So my new scenario, i need to send data to mysql database. the problem comes when sending the second data.the application increment primary keys as the results a get a key duplicate error.
MySql.Data.MySqlClient.MySqlException: Duplicate entry '1' for key 'PRIMARY
I know mysql database handle autoincrement by default.
any assistance will be appreciated.