Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to set number of entries in a DataGridView

Posted on 2011-03-24
8
271 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 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