What do i do if i have code for insert.when i insert the data it shows when i click the SHOW button(when I enter a serial number and then click SHOW it shows the data) it works but when i stop the system and run it again it does not show the data and the data is not in the database.

If you put your code here, maybe we can help you to find where is the problem.

Anyway, if you use a data adapter, probably you miss to define the insert, delete and update commands for it, and/or miss to call it for update.

Hope this helps