gridview中的复选框 [英] Checkboxes in gridview

查看:62
本文介绍了gridview中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个gridview,并在gridview中添加了复选框

用户在gridRows中选择一个chkbox,并且无论何时单击按钮,该特定行都必须显示在另一个gridview中.

我该怎么做?

Hi, i hav a gridview and i added checkboxes in gridview

user selects a chkbox in gridRows and when ever he click on button the particular row must be display in another gridview

how can i do this?

推荐答案

您正在谈论的场景是Master-Detailed Grids.
您去了:
使用具有详细信息DetailView的可选主GridView来使用主要/详细信息 [ ^ ]
在GridView中显示主数据/明细数据 [
You are talking of a scenario Master-Detailed Grids.
Here you go:
Master/Detail Using a Selectable Master GridView with a Details DetailView[^]
Displaying Master/Detail Data in a GridView[^]

Trigger to update the detail view might vary. You have a checkbox click, another way to select a row.


这篇关于gridview中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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