uisng delete for datagridview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
i would like to use delete key of keyboard to delete rows from
datagridview..
how can i acheive it?
 
The DataGridView has a property 'AllowUserToDeleteRows. Setting this to true
will allow the user to simply use the Del key to delete the selected row(s).

There is a notification event (RowsRemoved) which can be intercepted so that
the underlying data model can be updated to reflect the UI's concept of what
data exists.
 
Back
Top