|
-
Jan 4th, 2011, 09:09 PM
#1
Thread Starter
New Member
How To Determine If New Row is Selected in DataGridView
This should be simple, but I can't seem to figure it out. How do I determine if the user has moved to the new record row of a DataGridView in VB 2010? I'm trying to do something like this:
If NewRecordRow entered then
Do something
Else
Do something else
EndIf
I assume that code such as the above could be put in the DataGridView_SelectionChanged event and it would execute whenever the user navigated to a dirrerent row.
Am I close?
Thanks.
Dave
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|