ASP.NET MVC:如何通过不完整的形式(向导)之间的数据? [英] ASP.NET MVC: How to pass data between incomplete forms (wizard)?

查看:149
本文介绍了ASP.NET MVC:如何通过不完整的形式(向导)之间的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Asp.net MVC项目,我有一个之情况其中,

In my Asp.net MVC project, I have a scenerio where in,


  1. 用户有一个名为形成一大形式以填满。

  2. 在填充在 A型后,用户被重定向到表B 填写信息。

  3. 在填写表格B,用户被重定向回,形成此时表格A应该是pre-填补睡前B形填的信息用户。

  1. User have a big form named "Form A" to fill up.
  2. On filling half of the Form A,user is redirected to Form B to fill information.
  3. On completing Form B, user is redirected back to Form A and at this time Form A should be pre-filled by the information user filled before going to Form B.

如何以及在哪里举行半填表格A信息时,用户填写表格B,以及如何与这个previously填写信息,以补充形式A?

How and where to hold the half filled Form A information when user is filling Form B and how to refill Form A with this previously filled information?

推荐答案

这是有帮助的 在ASP.NET MVC应用程序传递数据

is this helpful Passing Data in an ASP.NET MVC Application

您可以存储在ViewData的或会话值传递值,而从网​​页A浏览网页B

You can store values in ViewData or in Session to pass values while navigating from Page A to Page B

有关大数据录入页面 - 在comment-最佳选择建议是
  数据存储到数据库中。因为这将是对用户很烦人
  填写数据agian在任何情况下。

For Big Data entry Pages - as suggested in comment- Best choice is to store data into Database. as it will be quite annoying for user to fill up data agian in any case.

这篇关于ASP.NET MVC:如何通过不完整的形式(向导)之间的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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