We help IT Professionals succeed at work.

Using nuPage control to implement paging in a windows form dataGridView i

adamtrask
adamtrask asked
on
Looking for examples on the net for implementing data Grid View paging in windows form I encountered the use of a control which I never came a cross before. What is more I don't know where to find it in the many tools of the windows form.
The control is called nuPage.
Below is a piece of code I copied just to show it in context.
Please advise. Thank you.

 try
            {
                conn.Open();
                nuPage.Maximum = Math.Ceiling(decimal.Parse(cmd.ExecuteScalar().ToString()) / 10);
                nuPage.Minimum = 1;
                nuPage.Increment = 1;
                nuPage.Value = 1;
                conn.Close();
            }
Comment
Watch Question

Fernando SotoRetired
Distinguished Expert 2017

Commented:
Never heard of the control. Could it be code that does paging using a numeric up/down control? Where did you see this please post the link?

Author

Commented:
Retired
Distinguished Expert 2017
Commented:
In your first post above the author of the solution is using a NumericUpDown control. and the code within the project.

In the second link the author is using two Button controls.

Author

Commented:
So Sorry.... I was under the impression that I accepted your solution and awarded you the points....