在网格视图中通过条件删除行? [英] Delete row through condtion in grid view?

查看:100
本文介绍了在网格视图中通过条件删除行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网格视图,网格视图中有多个列.在网格视图中,我的列之一是状态".在状态列中,我们显示了三种类型,如
已发货,Cancel.Status不是数据库中的任何列.代表某些情况
我们正在显示此文件.

网格视图的外侧有一个下拉列表.下拉菜单中有三个文本
已发货,取消状态.
因此,我们希望从下拉列表中选择的记录中进行过滤
应该是show.Status不是数据库的任何列,因此我们希望在Gridview的帮助下进行过滤.并且Status在Rowdatabound事件中是绑定的. /> http://forums.asp.net/t/1386423.aspx


I have a Grid view,there are multiple columns in grid view.In Grid View one of my Column is "Status". In Status column we are showing three type like
Shipped,Cancel.Status is not any column in database.On the behalf of some condition
we are showing this filed.

There is a drop down list out side of grid view.There are three texts in drop down
Shipped,Cancel.Status.
So we want filtering from the drop down what we select in drop down those records
should be show.Status is not any column of database so we want filtering with the help of Gridview.And Status is binding in Rowdatabound event.

解决方案

Try this
http://forums.asp.net/t/1386423.aspx


这篇关于在网格视图中通过条件删除行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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