Deleting record in datagridview

dualshock03

Well-known member
Joined
Jan 28, 2007
Messages
105
Programming Experience
1-3
I have a textbox and dtagridview and button..

Now i want the button to delete a record from the database and show the record to the textbox based from the record on the selected row that i choose from the dtagridview...

need some codes, samples..
 
The DataGridView is used as a means to display data. You most likely will have a dataset/datatable bound to the datagridview and this is the data you want to control/manipulate directly.

There are plenty of examples through this forum and in the help file itself that how how to delete a record from a table.
 

Latest posts

Back
Top