Create a dynamic NumericUpDown and button into the DataGridView.

This article is an extension of the grid capabilities (DataGridView) which is the basic control (or component) that is attached from Microsoft. By adopting a button that increases or decreases integer values (NumericUpDown) is inserted into the grid (Between 1 - 100), but there will be something special will cause 2 events: Mouse click, click on the cell of the grid that we want, then the NumericUpDown Will appear over the cell. And pressing the key from the keyboard into the grid cell instead In order to prevent pressing the key values ​​that we do not need, except numbers 0 through 9 only. Thank You. I hope this sample application will help you. Thongkorn Tubtimkrob For outside from Thailand can be contact me at My Facebook

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment