Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Datagridview - CellValueChanged when User changes the cell

Posted on 2007-07-31
2
Medium Priority
?
1,293 Views
Last Modified: 2008-01-09
Hello.  More Datagridview headaches.  I am putting code into CellValueChanged, but this gets fired when the datagridview is loading.  Is there a way to detect whether the user is actually editting the datagridview versus the initial loading?  
0
Comment
Question by:adwooley2
2 Comments
 
LVL 48

Accepted Solution

by:
jpaulino earned 1500 total points
ID: 19598308
Add a bool variable to your app and set it to false. In the end of the form load event set it to True. Then compare in the CellValueChanged if not variable then exit sub
0
 

Author Comment

by:adwooley2
ID: 19598387
Yes, I had that, but in the wrong place.  Appreciate the help.
Regards,
Alan
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

578 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