<div class="xiazai"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable"> <tr>
<td width="25%" align="right">m1:</td>
<td width="75%">
<asp:TextBox ID="txtDomain" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">111</asp:TextBox>
</td>
</tr>
<tr>
<td width="25%" align="right">m2:</td>
<td width="75%">
<asp:TextBox ID="txtDbIp" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">222</asp:TextBox>
</td>
</tr>
<tr>
<td width="25%" align="right">m3:</td>
<td width="75%">
<asp:TextBox ID="txtDbPort" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">333</asp:TextBox>
</td>
</tr>
<tr>
<td width="25%" align="right">m4:</td>
<td width="75%">
<asp:TextBox ID="txtDbName" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">444</asp:TextBox>
</td>
</tr>
<tr>
<td width="25%" align="right">m5:</td>
<td width="75%">
<asp:TextBox ID="txtDbUser" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">555</asp:TextBox>
</td>
</tr>
<tr>
<td width="25%" align="right">m6:</td>
<td width="75%">
<asp:TextBox ID="txtDbPwd" runat="server" CssClass="input" size="25"
maxlength="50" minlength="2" Width="135px">666</asp:TextBox>
</td>
</tr> <tr>
<td width="25%" align="right">m7:</td>
<td width="75%">
<asp:RadioButtonList ID="radlist" runat="server"
RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="0">777</asp:ListItem>
<asp:ListItem Value="1">888</asp:ListItem>
</asp:RadioButtonList>
</td>
</tr> <tr>
<td width="25%" align="right">print:</td>
<td width="75%">
<asp:TextBox ID="txtResult" runat="server" CssClass="input" size="25"
minlength="2" Width="498px" Height="92px" TextMode="MultiLine"></asp:TextBox>
</td>
</tr>
</table>
<div style="margin-top:10px; text-align:center;">
<asp:Button ID="btnSave" runat="server" Text="go1" CssClass="button"
onclick="btnSave_Click" />
<asp:Button ID="Button1" runat="server" Text="go2" CssClass="button"
onclick="Button1_Click" />
</div>
请问加入什么代码能把m1到m8的内容在提交后写入一个txt文件?谢谢。恭喜大家新的一年发大财
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货