Results 1 to 3 of 3

Thread: Delete key keypress

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2007
    Posts
    83

    Delete key keypress

    Hi,


    I've noticed that when I press the delete key my current row is deleted in my datagrid.

    What is the event for this and how can I carry another operation under this event when the delete key is pressed.

    I could do the operation under this event right
    Code:
    private void DataGridView_KeyPress(object sender, KeyPressEventArgs e)
            {
    How do I check whether the Delete key was pressed
    Last edited by sunshine123; Apr 14th, 2007 at 07:56 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width