Solved

delete row in datagrid

Posted on 2003-11-08
4
329 Views
Last Modified: 2012-05-04
Hello all ,

what event occured when we delete one row in datagrid by keyboard delete key (in windows program)?
I want to control this delete but I don't know this event
please help me , thanks
0
Comment
Question by:mehrnoosh
4 Comments
 
LVL 4

Accepted Solution

by:
Tonylmiller earned 25 total points
ID: 9706845
I would say you would use the keypress event and see if it is the delete key, and if it is you could delete the current row.
0
 
LVL 20

Assisted Solution

by:TheAvenger
TheAvenger earned 25 total points
ID: 9708079
Try DataGrid.DeleteCommand
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now