hi there I have made a connection to a database, and my problem is, when I try to add a new record to a table, it is fine for that time. Next time when I check the record is not there

Please post your code. My guess is you are modifying the in-memory copy of the table but not saving it to the database.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.