<asp:TextBox ID="txtDate" runat="server" MaxLength="100" Rows="3" Width="102px" ReadOnly="true"></asp:TextBox>
string t = txtDate.text 应改成 t = Request.Form["txtDate"]
或者前台用Html控件,然后指定 runat="server" 后台 t = txtDate.value
<asp:TextBox ID="txtDate" runat="server" MaxLength="100" Rows="3" Width="102px" ReadOnly="true"></asp:TextBox>
string t = txtDate.text 应改成 t = Request.Form["txtDate"]
或者前台用Html控件,然后指定 runat="server" 后台 t = txtDate.value