Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I Select a row for delete in datagridview but when i press delete button then pointer has change status to edit pointer, which property,events or any step i am missing.
Posted
Updated 28-May-15 19:01pm
v3
Comments
Sergey Alexandrovich Kryukov 28-May-15 22:52pm    
Missing from where? Is that the code written in this page in write font on white background?
—SA

1 solution

You can use below concept to delete. Hope this will work fro you

dataGridView1.Rows.RemoveAt(item.Index);
 
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