Why my code in my VB-access database is not working.
my add code is not displaying the inputted data it only displays the gridline in datagridview.
I already connect the database access file.

What's wrong?

Can anybody help me?

thankz.

I created another project.
It is adding the data, but wen you close the program when start again.all the added file is deleted.

Whats Wrong?

I am guess there is a key violation, or some other data validation error, ie you are not entering data in a field marked as mandatory in the table. so the record is not being saved.

Go through the table definition an check each field to ensure you know all of the required fields etc

thanks..
can u give me a code that can be use in database?

unique codes.

thank.

god bless us.

I don't think it is code, you need to check the table definition and ensure your programme is complying with the rules defined in it.

Be a part of the DaniWeb community

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