Somewhat new to .NET 4.0 C# development and have a quick question. I am working on a basic windows form application where I am using a DataGridView to view data stored in an Access Database.
I would like to use ALT+N to select the next row down and ALT+P to select the next row up (wrapping if possible or maybe just not move at all if already at top of row list or bottom).
I have done a fair amount of looking into this via the internet and I am just not seeing how I can accomplish this, and I am not seeing an option via the properties of the control. :-/
Can anyone provide a solution that will work in a .NET 4.0 C# development environment?
I ended up using the below event code for a “Next” and “Previous” button making use of the “Alt+N” and “Alt+P” hot keys. Thanks to “Chuck Wilbur” for his contribution as well to this solution.
By using the above event code I am able to cycle through the rows in a circular manner in either direction. Works well for me at least.
Thanks again for the help and taking the time to assist “Chuck Wilbur”!