c# - How to format Data grid View on ASP.NET? -


I am now working on the datagrid view on my sample n-level. How can I control it that it will not show all the records on my query that I run or maximize my webpage. Or control the shape so that it preserves its position as a design.

Like the forms of victory, this scroll will show the bars' grooves ..

Will you give me any suggestions which will be used and how does it work?

It seems that you are talking about paging, the datagrid has a Pagesy Attribute, which Determines the number of records displayed on each page. There are many samples of how to make pagers, but the basic essence is that you can store the data in memory or limit the number of records received from the database, and you can display the appropriate data based on the page.


Comments