更新时间:2023-12-04 18:24:05
附加Id ="MyInput"和runat ="server"
并在后面的代码中
MyInput.Value = session ["MySession"].ToString();
attach Id="MyInput" and runat="server"
and in code behind
MyInput.Value=session["MySession"].ToString();
嗨
您可以使用Hiddenfield控件代替输入html控件.
Hi
You can use Hiddenfield control instead of input html control.