我如何在Asp.Net中传输两种形式之间的巨大数据? [英] How I Can Transfer The Huge Data Between The Two Form In Asp.Net ?

查看:47
本文介绍了我如何在Asp.Net中传输两种形式之间的巨大数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net中传输两个表单之间的巨大数据?



i想要传输长度在2000到5000之间的字符串变量一个asp.net网络表单到另一个你可以帮助我吗?..

How i can transfer the huge data between the two form in asp.net ?

i want to transfer a variable of string having length varies between 2000 and 5000 from one asp.net web form to another can u please help me?..

推荐答案

你不能把它存储在会话中吗?
Woudn't you store that in the session?

使用会更好的选择

从源页面插入会话值并在目标页面中使用

类似Session [value] =你的值;

在登陆页面

Use session that will be better choice
insert value into session from source page and use it in target page
like Session["value"]="your value";
in landging page
if(Session["value"]!=null)
{
var usevalue=Session["value"].ToString();
}



希望能为你效劳


hope that work for you


这篇关于我如何在Asp.Net中传输两种形式之间的巨大数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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