是否可以在不绑定整个GridView的情况下向现有GridView添加行? [英] Is it possible to add rows to an existing GridView without Binding the entire GridView?

查看:85
本文介绍了是否可以在不绑定整个GridView的情况下向现有GridView添加行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要的是一个GridView,它一次显示10行从数据库中提取的行,每次我点击加载更多它应该从数据库中获取接下来的10行并添加到现有的GridView Rows而不加载整个GridView因为它会妨碍性能。它甚至可能吗?我不想使用分页,因为在分页的情况下,我一次只能看到10条记录。我希望GridView的大小增加。

解决方案





请参考以下文章作者:Ashish Chaudha。

动态添加并从ASP.NET GridView中删除行 [ ^ ]



欢呼,

Marco

点击此处希望它能为您提供帮助

What i want is a GridView which display rows fetched from a database 10 rows at a time, each time i click "Load More" it should fetch next 10 rows from database and add to the existing GridView Rows without loading the entire GridView since it can hinder performance. Is it even possible? I do not want to use paging because in case of paging i will be able to see only 10 record at a time. I want the size of GridView to increase.

解决方案

Hi,

please refer to the following article by Ashish Chaudha.
Dynamically adding and deleting rows from ASP.NET GridView[^]

cheers,
Marco


click here hope it will help you


这篇关于是否可以在不绑定整个GridView的情况下向现有GridView添加行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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