Solved

How to set number of entries in a DataGridView

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

773 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