Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to set number of entries in a DataGridView

Posted on 2011-03-24
8
Medium Priority
?
280 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
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)…
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

824 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