网格视图中的下拉列表
问题描述:
我正在使用带有下拉列表的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