如何在gridview中选择特定行并在另一个page.aspx中的文本框中绑定数据? [英] How to use select particular row in gridview and bind data in text box in another page.aspx?

查看:82
本文介绍了如何在gridview中选择特定行并在另一个page.aspx中的文本框中绑定数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在gridview中选择特定行并将数据绑定在另一个page.aspx中的文本框中。
页面中的
:a.aspx

i想要一个包含4列的gridview:nam,surname和age以及带有链接按钮详细信息的aothwer列

当我点击此链接时我想重定向到页面b。 aspx

其中我有3个texbox并用网格视图中所选行的tha值填充此文本框。



如何检索行索引?并传递给页面b.aspx ??

How to use select particular row in gridview and bind data in text box in another page.aspx??

in page: a.aspx
i want have a gridview with 4 columns: nam, surname and age and anothwer column that has a link button"details"
when i click this link i want to redirect to the page b.aspx
where i have 3 texbox and to fill this textboxes with tha value of the selected row in the grid view.

how to retrieve the row index? and to pass it page b.aspx??

推荐答案

在这里,看看:在ASP.NET中使用超链接传递GridView行值/数据 [ ^ ]



如果您面对,请尝试发布问题。
Here, have a look: Pass Send GridView Row Value/Data Using Hyperlink In ASP.NET[^]

Try and post issues if you face.


这篇关于如何在gridview中选择特定行并在另一个page.aspx中的文本框中绑定数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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