在asp.net中将textbox或lable的值从一种形式转移到另一种形式? [英] ransfer the value of textbox or lable from one form to another form in asp.net?

查看:58
本文介绍了在asp.net中将textbox或lable的值从一种形式转移到另一种形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在asp.net中将文本框或标签的值从一种形式转移到另一种形式?

how do we transfer the value of textbox or lable from one form to another form in asp.net?

推荐答案

您可以使用Querystring,Session,PreviousPage,等

阅读以下内容:
MSDN:ASP.NET状态管理概述 [ ASP.NET中的状态管理-1 [ ASP.Net状态管理技术-2 [
You can use Querystring, Session, PreviousPage, etc.

Have a read on the following:
MSDN: ASP.NET State Management Overview[^]
State management in ASP.NET - 1[^]
ASP.Net State Management Techniques - 2[^]


可以使用
字符串a = Request.Form ["TextBox1"];
You can use
string a = Request.Form["TextBox1"];


这篇关于在asp.net中将textbox或lable的值从一种形式转移到另一种形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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