Advertisement

04.18.2008 at 09:39AM PDT, ID: 23334741
[x]
Attachment Details

datagridview,rowEnter and DELETE statement in visual basic 2005 winform

Asked by systems_ax in Visual Studio .NET 2005, Visual Basic Programming, Microsoft Visual Basic.Net

This question is in continuation from the following link:
http://www.experts-exchange.com/Microsoft/Development/.NET/Visual_Studio_.NET_2005/Q_23328835.html

I populate my datagridview with a press of a button, when all the records are displayed, the VERY FIRST ROW is selected by default.  I need to either disable that selection or put in a statement that will let me delete the selected record.  I also have posted my Row enter event in the previous post.  So, what happens is that when I press my "delete" button, a message pops up that says that "no record is currently selected" EVENTHOUGH it is selected by default WITHOUT an active click.
Had anyone encountered a similar issues and have a solution?
thank youStart Free Trial
[+][-]04.18.2008 at 03:18PM PDT, ID: 21390071

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.19.2008 at 01:56PM PDT, ID: 21393889

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2008 at 08:24AM PDT, ID: 21402826

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2008 at 01:36PM PDT, ID: 21405746

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2008 at 02:06PM PDT, ID: 21406048

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio .NET 2005, Visual Basic Programming, Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: jpaulino
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.21.2008 at 03:33PM PDT, ID: 21406720

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628