在数据库中存储网格视图复选框值 [英] storing grid view check box values in db

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

问题描述

大家好,

我正在使用Grid View控件.

我想创建带有复选框的网格视图,如果我单击任何复选框,我想获取所选值的ID.



我想将选定的复选框值存储在db中.

它是c#中的Windows应用程序.

Hi all,

I am working with Grid View control.

I want to create Grid view with check box, if i click any check boxes i want to get ids of the selected values.

or

i want to store the selected check boxes values in db.

it is an Window application in c#.

推荐答案

^ ]应该为您提供一个方法.在示例中,显示索引.

但是,您可以做的是获取数据行,然后将其更新到数据库中.
This[^] should give you an idea on what to do. In the example, an index is displayed.

However, what you can do is get the data row and then update values from this into your database.


查看此信息....
网格视图中的问题 [
view this post....
Problem in Grid View[^]


这篇关于在数据库中存储网格视图复选框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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