Fixed Issue Jordan pointed out about PK

Used DataTable to check if PK exist. If it exists, show message box and
don't save.