473,320 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

DataGridView row count based on content

116 64KB
Hi

I have a DGV with, say, 100 rows. Some of the rows are set to 20px high and some to 50px high.

I would like to count how many rows are set to 20px high irrespective of whether the row is visible.

Is there any clever way to do this instantly rather than iterating through the entire DGV checking each row and adding it to a count? (ie, a for/next loop through DGV)

I found a way to count rows based on certain aspects via the getRowCount - is it possible to insert a query into this to find what I need?

Thanks
Jan 11 '14 #1
0 1007

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: jyoti | last post by:
Hi there, Our organization's web site requires a lot of content updates. I like to develop a browser based content management system in asp. I like to show my end users exactly live format of our...
0
by: WebGate Admin | last post by:
I just wanted to mention a software product I just released on sourceforge. It uses XML/XSLT (using Apache Cocoon) to aggregate all (not ALL, but quite a bit) of your information into one web...
3
by: =?Utf-8?B?U3FsQmVnaW5uZXI=?= | last post by:
I need to create a content management system for my application. I need to use C# and ASP.NET for this development. I was wondering whether there would be any good open source project which can be...
1
by: romerve | last post by:
Hello; i am having some problems trying to get a form that has a datagridview to refresh after a new record is created. I have a MDI container and menu form and add new record form; the menu...
1
by: isaacsfa | last post by:
Hello, I'm trying to remove a row that exists in a DataGridView object based on the content in the cell in its first column. I can't seem to figure out a way to do this! I know I can remove a row...
4
by: John Devlon | last post by:
Hi, I've created a small application with some user-authentication and roles. I would like to show/hide some navigation parts based on the users role. Could someone please tell me what the...
2
by: dmne05974 | last post by:
As a novice in Access i am currently writing a database to track certain financial information for a non-profit organisation. As part of the funding they have to monitor age ranges and ethnic...
0
by: kellyanne | last post by:
i have a program a monitoring system i have a problem because i dont know if it is possible to count the content in a particular field..my field name were "NumberOfdays" i wonder if there were a vb6...
0
by: Nikunj Bhatt | last post by:
I am developing a project in VB.Net and I am using Gujarati fonts (non-Unicode). I have placed a DaraGridView (DGV) and displaying the data stored in database in DGV. In DGV, if the contents of...
1
by: Matt Ashworth | last post by:
I have 2 tables both have a primary key which links them, How can I run a count query to look at the first table and check the id, then look at the second table and count up how many records have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.