I want to save Records to my Database, if I restart my Application I sometimes lose all my data
but it does not happen often, I went to copy if newer option from the solution explore on the properties,but its help but when I catch an exception data is lost, I have attached my source code