如何在c#中提高网格视图的速度 [英] how to increase speed of grid view in c#

查看:56
本文介绍了如何在c#中提高网格视图的速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何提高网格视图的速度,
i在数据库中有超过3000个数据

how to increase speed of grid view ,
i have more than 3000 data in database

推荐答案

如何增加网格视图的速度

简单:不要尝试将3000个项目加载到gridview中。



想一想:作为用户,您是否想要浏览那些试图找到您感兴趣的一行的数据?因为我不愿意,我的用户不会,我也不认识任何人。



Page it,过滤,搜索 - 但不要t尝试在任何时候加载超过约100件物品(最好是20~40件)。您的网站会更快回复,您的用户会更快乐。
"how to increase speed of grid view"
Simple: Don't try to load 3000 items into a gridview.

Think about it: would you - as a user - want to wade through that many lines of data trying to find the one line you are interested in? Because I wouldn't, my users wouldn't, and I don't know anyone who does.

Page it, filter it, search it - but don't try to load more than around one hundred items (preferably 20~40) at any one time. Your website will be quicker to respond, your users will be happier.


这篇关于如何在c#中提高网格视图的速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆