数据保留在网页上 [英] data retain on web page

查看:71
本文介绍了数据保留在网页上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设
该网页包含5个文本框.....用户在该文本框中输入数据
值A:textbox1
值B:textbox2
值C:textbox3
值D:textbox4 ;;;;这里的值D是一个链接按钮,该链接按钮导航到其他页面,然后在文本框中显示单独的图形.

那时,用户为文本框1,2,3输入的值仍保留在文本框中

Suppose
the web page contain 5 textboxes.....user enter data in that
value A:textbox1
Value B:textbox2
Value C:textbox3
Value D:textbox4 ;;;;here value D is a link button which navigates to unother page and come back with consolated figure in textbox.

at that time the values enter by user for textbox 1,2,3 still retain in textbox

推荐答案

如果我正确理解了您的问题,则希望保留文本框的值重定向后将用户带到同一页面.您可以将Session中的值保存并在页面加载期间将其加载回去,也可以使用QueryString传递数据并从查询字符串中加载值.
If I understand your question correctly, you want to retain values of textbox after a redirect brings the user to the same page. You can hold the values in Session and load it back during page load or you can use QueryString to pass the data and load the values from the query string.


这篇关于数据保留在网页上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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