在asp.net代码中找到文本框 [英] finding the textbox in asp.net codebehind

查看:86
本文介绍了在asp.net代码中找到文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,

假设first.aspx页中有100个文本框,我想阅读second.aspx页中的第n个文本框.

Hi friends,

assume there are 100 textboxes in first.aspx page, I want to read the nth textbox in second.aspx page. How can i do that?

推荐答案

基于您要求我们进行的假设,Page.PreviousPage概念适合您.
在这里查看: MSDN:Page.PreviousPage属性 [ ^ ]

使用此功能,您可以使用PreviousPage属性在目标页面中使用原始页面信息.
Based on the assumption you have asked us to make, Page.PreviousPage concept fits in good for you.
Look here: MSDN: Page.PreviousPage Property [^]

Using this you can use the originating page information in your destination page using PreviousPage property.


这篇关于在asp.net代码中找到文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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