Best regards, how I can delete a record in the DataGridView and update this table len but removing it would be activating a checkbox and pressing a button.
your attention is appreciated
davidmr 0 Newbie Poster
Recommended Answers
Jump to PostIs the DGV databound?
When you say it would be activating a checkbox and pressing a button, do you mean:
1) The user presses a check box
2) The user presses deleteor
1)The application fires off a checkbox
2)The application fires off a button_click event
Jump to Posti cant get your point ,i think you want to delete the selected record from the grid and also from db. you can do this on button click event after selecting your row from grid.
dim con as new sqlconnection("your connection string") con.open() dim cmd as new …
All 8 Replies
Begginnerdev 256 Junior Poster
davidmr 0 Newbie Poster
davidmr 0 Newbie Poster
TnTinMN 418 Practically a Master Poster
M.Waqas Aslam 67 Posting Pro in Training Featured Poster
davidmr 0 Newbie Poster
davidmr 0 Newbie Poster
TnTinMN 418 Practically a Master Poster
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.