在网格视图中循环 [英] Looping in a Grid view

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

问题描述

大家好,


              我有一个由4列组成的网格视图,


     第一列的标题为rollName,其中15个角色直接取自DB,另外3个是由复选框组成的模板字段。


                   ;  现在我的问题是,如何遍历这15个角色并检查哪个复选框已被检查并在我的数据库中更新相同。


尽快提供帮助

解决方案


大家好,


        ;       我有一个由4列组成的网格视图,


     第一列的标题为rollName,其中15个角色直接取自DB,另外3个是由复选框组成的模板字段。


                   ;  现在我的问题是,如何遍历这15个角色,并检查哪个复选框已被检查,并在我的数据库中更新。


尽快提供帮助



我猜你正在考虑行(角色)。无论如何,请尝试下面的链接:


http://stackoverflow.com/questions/5098793/gridview-column-and-row-total


http ://stackoverflow.com/questions/3779729/how-i-can-show-the-sum-of-in-a-datagridview-column


Hi All,

               i have a grid view which consist of 4 columns,

      the first column has a header as rollName which has 15 roles which is directly taken from the DB, and the other 3 are templete fields which consists of check boxes .

      now my question is , how to iterate through this 15 roles and check which checkbox has been checked and update the same in my database.

plz help soon possible

解决方案

Hi All,

               i have a grid view which consist of 4 columns,

      the first column has a header as rollName which has 15 roles which is directly taken from the DB, and the other 3 are templete fields which consists of check boxes .

      now my question is , how to iterate through this 15 roles and check which checkbox has been checked and update the same in my database.

plz help soon possible

Hi,

I guess you are taking about rows (roles). Anyway try the link below:

http://stackoverflow.com/questions/5098793/gridview-column-and-row-total

http://stackoverflow.com/questions/3779729/how-i-can-show-the-sum-of-in-a-datagridview-column


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

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