Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
How could I do to display data using MySql and use it for deleting or editing ?
But now I have to display data and give the choice of:

1- use it to edit
or
2- to delete.

So how can I do it ?
Thank you.

What I have tried:

I did already the form of inserting data on MySql.
Posted
Updated 5-Jul-16 5:01am

1 solution

Take a look: Connect C# to MySQL
 
Share this answer
 
Comments
TatsuSheva 5-Jul-16 11:13am    
Here the data are already written but in my case the data will be stored on different textboxes.
Is it the same way ?
Leo Chapiro 5-Jul-16 11:24am    
Well, this project I linked to is a good starting point to understand how to work with MySQL DB by using a C# I think. You have the examples for Delete() and Insert() as well ...
TatsuSheva 5-Jul-16 12:09pm    
I did for the display but my problem is how I will do for Delete() and UpDate().
i used a DataGridView to display the data but how it will work for deleting and updating
?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900