我刚开始学习如何使用Blazor模板制作网站,但不知道如何将数据从一个页面传递到另一个页面。这与.NET CORE MVC Web应用程序有些不同,我找不到相关示例。
<p>Solve This problem: @rnd1 * @rnd2 = ?</p>
<input type="text" name="result" bind="@result" />
<input type="button" onclick="@calculate" value="Submit" />
我想把文本框里的值发送到另一个页面,应该怎么做?