What is 'da' defined as? Are you debugging using thbe Visual Studio IDE? If so, everytime you recompile to start debugging a copy of the db overwrites the old one.