网格视图中的下拉列表 [英] dropdownlist within a gridview

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

问题描述

我正在使用带有下拉列表的gridview.
gridview将填充Tabrequest表.
和dropdownlist具有两个批准或拒绝的值.
因此,如果我有三个请求,我可以批准或拒绝.
因此,我将在每个下拉列表中选择它.
因此,带有请求信息的结果(批准/拒绝)应保存.
我该怎么做,请帮助我.
表示将结果(批准/拒绝)与每一行绑定并保存.
单击按钮事件时,我希望所有结果都保存下来.

I am having gridview with dropdownlist.
gridview will fill with Tabrequest table.
and dropdownlist have two values approve or deny.
so,if I am having three requests I may approve or deny it.
so I will select it through each dropdown.
so, the result (approve/deny) with request info should get save .
How I can do this please help me.
means bind result(approve/deny) with each row and save it.
on button click event I want all results get saved.

推荐答案

本教程示例可能会帮助您
教程:1 [教程:2 [
this tutorial sample may help you
Tutorial :1[^]
Tutorial :2[^]


我正在使用dropdownlist进行gridview. br/> gridview将填充Tabrequest表.
和dropdownlist具有两个批准或拒绝的值.
因此,如果我有三个请求,我可以批准或拒绝.
因此,我将在每个下拉列表中选择它.
因此,带有请求信息的结果(批准/拒绝)应保存.
我该怎么做,请帮助我.
表示将结果(批准/拒绝)与每一行绑定并保存.
我希望所有结果都保存在按钮单击事件上
I am having gridview with dropdownlist.
gridview will fill with Tabrequest table.
and dropdownlist have two values approve or deny.
so,if I am having three requests I may approve or deny it.
so I will select it through each dropdown.
so, the result (approve/deny) with request info should get save .
How I can do this please help me.
means bind result(approve/deny) with each row and save it.
on button click event I want all results get saved


您可以逐个允许并单独编写
You can allow it one by one and write individually


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

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