Pages

Monday, June 4, 2012

Simple shortcuts to help you edit DataGrid data (VB 2003)

You’re probably aware that you can use the [Esc] key to cancel an entry before leaving a cell and use the [Home] and [End] keys to move to the beginning or end of the current row. However, the DataGrid also supports several other shortcut keys that can help you during data entry. For example:
  • You can jump to the first empty cell on the current row by pressing the [Ctrl] key plus one of the arrow keys.
  • If you need to delete all the rows in the DataGrid, you can first quickly select them with [Ctrl]A.
  • If you need to save a null value instead of an empty string, [Ctrl]0 (zero) enters a dbnull value into a cell when in edit mode.



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.