Question

2
Replies
153
Views
PARAMESWARA REDDY KONUGANTI (ParamKonuganti)
1986

1986
US
ParamKonuganti Member since 2015 4 posts
1986
Posted: May 29, 2018
Last activity: May 29, 2018
Posted: 29 May 2018 12:00 EDT
Last activity: 29 May 2018 14:45 EDT
Closed

How to Restrict the number of visible rows/records in DataGridView Control

Hi,

I am using DataGridView Control to display the records on Windows Form. Currently the source is Table View, which gets the data from ODBC query.

Now, I want to restrict the number of records shown on UI to certain number. For Example, if the Table view is having 100 records, I just want to show to 25 only.

Is there any view achieve it using the properties/methods present in DataGridView Control?

I don't want to reduce the number of records in TableView. I want to restrict the visibility in UI only.

I already achieved my requirement using any other way (copying the required number of records from TableView to LookupTable and then giving the LookupTable data as source to this DataGridView Component, but want to know the best way of controlling the row count in Data Grid itself.

Please let me know whether can we acheive this.

Thanks,

Param

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.