Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site. Private Sub my Data Grid View_Cell Validating(By Val sender As Object, By Val e As Data Grid View Cell Validating Event Args) Handles my Data Grid View. Show("You have left the cell empty") ' Fail validation (prevent them from leaving the cell) e.
It seems that once the user enters any character, I'm sunk. The bottom line is that it works, but it's pretty ugly.
Deleting everything in the cell still does not evaluate to a NULL Thanks ll. Value I put that in a button on the form, and entered some data, and then set the value. I guess the experts are laughing at me, but I'm not the least bit impressed with
Jake Jake, I can't get this to work, and I'm very frustrated, so instead of venting my thought on ... Thanks, and maybe tomorrow I'll either "see the light" or have some intelligent questions.
Value (If it's not Value, it's something similar, not at my dev machine at the moment, so pardon me - can't test :) ).
I've put in over 8 hours just trying to validate a stupid cell on a Data Grid View. :) :) Thanks for your help, I'll happily give you the points.