Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir

I got a scenario.There will be a gridview.

There is a edit button,this is outside the gridview.

after clicking edit button all the controls in gridview should be enabled,we can edit already existing records.By clicking add new button (outside gridview) one new row will be added.after clicking save button all the records including newly added rows will be saved.This save button is outside gridview

Only after clicking edit,add new button will be enabled.

For deletion each row inside gridview will have delete button ,after clicking delete button,that particular row should be deleted.

Please help me do this task

Thanks and Regards

N.Ramachandran
Posted

1 solution

dataGridViewWorks.Rows.RemoveAt(dataGridViewWorks.CurrentCell.RowIndex);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900