Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / October 2004

Tip: Looking for answers? Try searching our database.

Winforms Datagrid Row deletion problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Srikanth - 29 Oct 2004 00:15 GMT
Hi,
    Iam trying to delete a row on a Winforms datagrid and before deleting
the row I want to do some validation. But, the Keydown event on the datagrid
where I check whether the key pressed is 'Delete'  seem to fire sometimes
only. How do I change the code so that the Keydown event fires at all times.

Am I missing something?

Any help is appreciated. Thanks in advance.
Srikanth.
"Jeffrey Tan[MSFT]" - 29 Oct 2004 03:28 GMT
Hi Srikanth

For this issue, I have added a reply to you in
"microsoft.public.dotnet.framework.windowsforms.controls" with title
"Winforms datagrid keydown problem". Please follow up there, I will work
with you. Thanks for your understanding!!

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Ken Tucker [MVP] - 30 Oct 2004 04:31 GMT
Hi,

Sample code for a datagrid that pops a confirmation box when you delete a
row and raises an event when a row is delete.
http://www.onteorasoftware.com/downloads/delete.zip

Ken
-------------------
Hi,
    Iam trying to delete a row on a Winforms datagrid and before deleting
the row I want to do some validation. But, the Keydown event on the datagrid
where I check whether the key pressed is 'Delete'  seem to fire sometimes
only. How do I change the code so that the Keydown event fires at all times.

Am I missing something?

Any help is appreciated. Thanks in advance.
Srikanth.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.