I need to delete a single row at a time from a datagrid view that is databound.
Here is a sample code i have been working on.
Thanks in Advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
CrishPosted Jun 18, 2010, 5:14 AM
you can delete any records using row databound in datagrid view.
thanks
Christofel HakimPosted Jun 18, 2010, 4:46 AM
I cann't find your sample code.
but if you want to delete a row on row databound event, you should :
1. find the row index
2. Get the id
3. then delete the desire row to deleted
Thanks