价值转移 [英] value transfer

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

问题描述

如何在没有会话条件的情况下转移另一个页面的值

how to transfer the value for another page without session condition

推荐答案

只需重定向到您想要的新页面:
Response.Redirect("anotherpage.aspx?@parameter1Name={0}¶meter2Name={1}",parameter1Value,parameter2Value,true)


并在新页面的page_load中获取参数值:
Dim strValue As String = Request.QueryString.Item("parameter1Name")
Just redirect to the new page you want:
Response.Redirect("anotherpage.aspx?@parameter1Name={0}¶meter2Name={1}",parameter1Value,parameter2Value,true)


and in the page_load of new page get the parameter values:
Dim strValue As String = Request.QueryString.Item("parameter1Name")


这篇关于价值转移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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