Your question is clearly explaining the problem.
sam.198979 wrote:
when i click insert button again and again it's inserting same data with new id.
Clear the controls/variables after inserting the data. So, next time it won't insert the same data.
sam.198979 wrote:
i want if data is already exist in table,it must overwrite the that data.
You should use update command to update existing data in database.
--Amit