There are two things I can think of from the top of my head what could be wrong here:
- The database being addressed does not return any meta data regarding the primary key along with the ususal result set.
- Your table PersonalDetail does not contain any primary key at all.
Please edit your question and add what kind of database you are using.
Regards,
Manfred