Solved

How to set number of entries in a DataGridView

Posted on 2011-03-24
8
273 Views
Last Modified: 2013-12-17
I'm using a datagridview for data entry.  After about 125 entries, the vertical slider is all the way at the bottom and I can't enter any more data.

How do I fix this?
0
Comment
Question by:rmmarsh
  • 4
  • 4
8 Comments
 
LVL 27

Expert Comment

by:nmarun
ID: 35209067
You might want to use tools like Firebug (mostly for Firefox, but can use on other browsers as well) or some kind of web developer tools, which is available on most of the latest browsers. This will tell you what is messing up your html.

Have a look at the video on the home page here for Firebug:
http://getfirebug.com/

You can also have a look at your view source to see if that'll help in anyway.

If not, a screen-shot showing what is happening would be of help for us to dig deeper into the issue.

Arun
0
 

Author Comment

by:rmmarsh
ID: 35209099
This is for a desktop application...
0
 
LVL 27

Expert Comment

by:nmarun
ID: 35209208
then screenshot plz?
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:rmmarsh
ID: 35209285
I don't think you understand the question... I have a C# .NET desktop application that uses a DataGridView for data input.  A screen shot of an empty DGV will show you nothing!

I want to know if there is a setting for maximum number of entries in the DGV.
0
 
LVL 27

Expert Comment

by:nmarun
ID: 35209460
You said:
"After about 125 entries, the vertical slider is all the way at the bottom and I can't enter any more data."

What happens if you click once on the top button of the vertical scrollbar? Won't it show you the last row that you can enter data in?

My thinking is that you can post a screenshot of this condition.

Also, if it is of any help to you the post below tells you that the max number is something like 2 billion:

http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/215182ea-fd68-420b-a617-c91c2e81feaa

0
 

Author Comment

by:rmmarsh
ID: 35209618
Maybe you were not so off base on requesting an image, after all, a picture is worth a thousand words!  So, I have attached one... you can see that the slider is getting smaller, and eventually, the user is unable to add more data.

Hope this helps! DGV showing vertical slider
0
 
LVL 27

Accepted Solution

by:
nmarun earned 500 total points
ID: 35214599
The image does not seem to help. The vertical scrollbar is bound to get smaller as and when you add entries as it's the default behavior; pretty sure you know about this. I'm still not sure what you mean by 'dgv does not let you add entries because the vertical scrollbar gets small'.

If you're talking about navigation, you can try using the tab key to navigate to the next cells and eventually to the next row.

That's pretty much what I can tell you regarding this.

Arun
0
 

Author Closing Comment

by:rmmarsh
ID: 35215089
Thanks for your time...
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question