|
|
发表于 28-1-2007 01:18 AM
|
显示全部楼层
不能用sesion的话,你可以在你的webform的click event里,连同你的variable附在一起redirect到你的webform B
列如(C#):
string A;
A = "value=" + variable;
Response.Redirect("webformA.aspx?"+ A);
成功transfer去webform B的话,browser 的address bar就会display “...webformB.aspx?value=variable" instead of just the webform name "...webformB.aspx"
由那里event从address bar读取从webform A带过去的variable
我很久没编写程序了,忘了actual code是怎么写的
但是我记得concept大概是这样把。。。希望可以帮到你
如过有错的话请纠正
[ 本帖最后由 simpleMind 于 28-1-2007 01:25 AM 编辑 ] |
|