如何在页面加载时执行操作 [英] how to perform action on page load

查看:74
本文介绍了如何在页面加载时执行操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我想在链接上调用表单标签的操作方法.
当我们点击链接时,它将打开新页面,而我想将总和值从一页转移到另一页.

最主要的是我想使用get,post和action方法.

问题是动作方法未执行

在这种情况下如何执行操作"?

Hi all

I want to invoke action method of form tag on a link.
When we clik on link it will open new page and I want to carry sum values from one page to another.

The main thing is that I want to use get, post and action method.

Problem is that action method is not perform

"how to perform action in this situation"?

推荐答案

使用会话变量: http://www.java2s.com/Code/ASP/Request/DealwiththequerystringVBnet.htm [^ ]


GL
use Session Variables:http://www.java2s.com/Code/ASP/Session-Cookie/UsesessionvariablesVBnet.htm[^]

or

Query strings:http://www.java2s.com/Code/ASP/Request/DealwiththequerystringVBnet.htm[^]


GL


这篇关于如何在页面加载时执行操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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