选择Gridview的Randoms行并使用C#从gridview中删除这些行 [英] Select Randoms rows of Gridview and deleting those rows from gridview by using C#

查看:99
本文介绍了选择Gridview的Randoms行并使用C#从gridview中删除这些行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

选择Gridview的Randoms行并使用C#

Select Randoms rows of Gridview and deleting those rows from gridview by using C#

推荐答案

从gridview中删除这些行。删除非常简单。只需要从DataSource中删除行并将其重新绑定到tre GridView。



但是选择随机行的算法由你决定。考虑一下并制定它。
Deleting is quite simple. Just you need to remove the rows from the DataSource and rebind that to tre GridView.

But the algorithm for selecting random rows is upto you. Think about it and formulate that.


这篇关于选择Gridview的Randoms行并使用C#从gridview中删除这些行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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