带 xval 的 ASP.NET MVC 向导表单

发布于 2024-07-15 07:28:25 字数 93 浏览 5 评论 0原文

我使用 linqtosql 和 xval 来验证服务器端和客户端。 我正在尝试做一个向导样式的表单,但无法在不同的操作中传递实际值。

有任何想法吗?

im using linqtosql and xval to validate server side and client side. im trying to do a wizard style form but cant pass the actual values accross different actions.

any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

無處可尋 2024-07-22 07:28:25

您有三种选择:将值存储在 TempData 中,将值存储在 Session 中,或者将临时值写入视图中的隐藏字段并在每一步重新加载它们。

You have three choices: store the values in TempData, store the valus in the Session, or write the temporary values to hidden fields in the view and reload them at each step.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文