Solved

delete row in datagrid

Posted on 2003-11-08
4
327 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

17 Experts available now in Live!

Get 1:1 Help Now