Solved

How to set number of entries in a DataGridView

Posted on 2011-03-24
8
268 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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now