将选定的gridview行传递到另一页上的另一个gridview [英] pass selected gridview row to another gridview on another page

查看:53
本文介绍了将选定的gridview行传递到另一页上的另一个gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我在页面上有一个gridview,它从数据库中获取数据,并且当用户选择gridview行时,该gridview行应重定向到新页面.
此新页面具有另一个gridview,我需要使用上一页中选择的gridview进行填充.
有人可以帮我这个

well i have a gridview on a page which gets its data from a database and when the user selects the gridview row then that gridview row should be redirected to a new page.
this new page has another gridview which i need to populate with the selected gridview from previous page.
can somebody help me with this

推荐答案

吗?您需要一种状态管理技术才能将数据从一页传递到另一页.

看看这些,然后选择适合您的一个.
MSDN:ASP.NET状态管理概述 [ ASP.NET中的状态管理-1 [ ASP.Net状态管理技术-2 [
You would need one of the state management techniques to pass on the data from one page to other.

Have a look at these and pick the one that suits you.
MSDN: ASP.NET State Management Overview[^]
State management in ASP.NET - 1[^]
ASP.Net State Management Techniques - 2[^]


这篇关于将选定的gridview行传递到另一页上的另一个gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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