How can I delete a specific row in my database from my windows form?
ex. the user chooses the data he wants to delete and press the delete button....
Printable View
How can I delete a specific row in my database from my windows form?
ex. the user chooses the data he wants to delete and press the delete button....
You need to execute an SQL DELETE statement against your database. I suggest that you read the ADO.NET tutorials in my signature. The four basic operations you would perform would be SELECT, DELETE, INSERT and UPDATE and those tutorials will explain how to do each of those. If you aren't too familiar with SQL syntax there is a link to an SQL tute in my sig too.