hi
i m usin a datagridview and used a checkbox in it. when i select a check box i want to delete it. i could not delete a row until i click on another cell after selecting a cell.then i used cureentcelldirtystatate and i succesfully deleted the row but ths happen for single cell when i select mu;tiple cells and want to delete it then it delete only a few rows and leave 2 or 3 rows left same.
plz help me
Loading
Sam HobbsPosted Apr 14, 2011, 4:01 PM
Suthish NairPosted Apr 14, 2011, 10:08 AM
Muhammad younasPosted Apr 14, 2011, 9:55 AM
CrishPosted Apr 13, 2011, 8:27 AM
In asp.net,double click on checkbox property than call delete method. by this it done.
http://www.axistechnolabs.com/technology/ecommerce-development.aspx
Muhammad younasPosted Apr 13, 2011, 7:03 AM
Sam HobbsPosted Apr 9, 2011, 3:45 PM
Do you want a row to delete as soon as you check the checkbox? If so, then why not use a plain button?
Do you want to be able to check multiple checkboxes? If so then when do you want the delete to work? Do you want to click a button or something that is outside the DataGridView to delete the selected records? Or do you want the rows to delete after you close the form?
Muhammad younasPosted Apr 9, 2011, 8:16 AM
bt if iselect say 6 it deletes 4
piyush sardharaPosted Apr 9, 2011, 7:09 AM
how many check box check that entry deleted ohter wise not