如何从模块弹出扩展器中的数据网格中获取数据 [英] How to get the data from the datagrid which is in modal popup extender

查看:73
本文介绍了如何从模块弹出扩展器中的数据网格中获取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我的页面上有一个模态弹出扩展器。在点击链接按钮时,将出现模态弹出窗口。在模式弹出窗口中,我使用了datagrid。 Datagrid包含3列。一个用于复选框,其他用于数据库中的行,第三个用于下拉列表。



一旦出现模态弹出窗口,它将允许用户通过选中复选框来选择一些行,并且下拉列表允许用户选择行的顺序。



我在模态弹出窗口中有一个保存按钮,所以一旦用户点击保存,我将从数据库中获取各行的数据。



所以我的问题是,一旦用户点击保存,如何从数据网格中访问这些值。



谢谢,

Surendra

Hi All,

I have a modal pop up extender on my page. On the click of link button modal popup will appear. In the modal pop up,I have used datagrid. Datagrid contains 3 columns. One for checkbox, Other for rows from database and 3rd for dropdownlist.

Once modal popup appears, it will allow user to select some rows by checking the checkbox and dropdown allows the user to select the sequence of the rows.

I have one save button in modal pop up, so once user clicks save, I will be fetching the data from the database for respective rows.

So my question here is, once user clicks save, how to access those values from the datagrid.

Thanks,
Surendra

推荐答案

当用户点击保存将所有数据从网格视图传递到数据表然后



将该数据表存储在veiw状态,然后您可以轻松地检索该数据
as user click on save pass all data from grid veiw to data table then

stored that data table in veiw state then you can retrive that data easily


这篇关于如何从模块弹出扩展器中的数据网格中获取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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