How to Insert, Delete and Update Data in a Datagridview using MySql as the database?
There is a textboxes and button that adds data in the database and i want it to be refresh the datagridview. Can someone give me the code? thanks!..

Recommended Answers

All 4 Replies

Have you tried searching the forum?
This question has been asked and answered many times.
Just replace any reference to SqlClient with MySqlClient.

thanks

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.