我想将gridview数据从一种形式转移到另一种形式 [英] I want to transfer gridview data from one form to another

查看:116
本文介绍了我想将gridview数据从一种形式转移到另一种形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Iam使用9列中的9列的GridView,如果我单击该Uid链接,则为Uid创建9个链接(超链接),这意味着9行数据将转到该表单中的下一个表单(add.aspx),IAM具有9个文本框那9个网格行的值将在同一项目的add.aspx中转到9个文本框

从View.aspx到add.aspx

IAM在C#中使用asp.net

我想尽快回答请任何人帮助我


在此先感谢

Suresh

Hi
Iam using gridview with 9 columns in that 9 columns for 1 column i created link(Hyperlink) for Uid if i click on that Uid link means that 9 rows data will goto the next form(add.aspx) in that form iam having 9 textbox that 9 grid row value wil goto 9 textbox in add.aspx the same project

From View.aspx to add.aspx

iam using asp.net with C#

i want answer ASAP plz anyone help me


Thanks in advance

Suresh

推荐答案

kartikdasani给出了一个很好的建议,因此您在这里要做的是将任何ID附加到您的超链接中,即添加一个querystring值.然后在第二页中使用该querystring值,并从DB取回数据.
A good suggestion is given by kartikdasani, so what you have to do here is append any id to your hyperlink i.e. add a querystring value. And in the second page take that querystring value and retrieve data back form DB.


尝试以下链接:

http://www.indiastudychannel.com/resources/15856-ASP-NET-Transfer-data-from-one-page-another.aspx [
try the following link:

http://www.indiastudychannel.com/resources/15856-ASP-NET-Transfer-data-from-one-page-another.aspx[^]


这篇关于我想将gridview数据从一种形式转移到另一种形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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