Setting MaxRows for DataGridView C#

Hello! Is there a way where i can set the max rows for filling in the DataGridView component. I need to show only 5 results, not all of them. I am using BinaryReader with binary file to receive my data for the grid. Also you can suggest a way for removing/hiding rows! Thanks! 🙂

by stoyan377 via /r/csharp

Leave a Reply