📄 add.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Add.ascx.cs" Inherits="MySite.WebUI.Controls.Comment.Add" %>
<script type="text/javascript">
function refresh()
{
var o=document.getElementById("VerifyImage");
o.src="VerifyCode.ashx?act=refresh&rnd="+new Date().getTime();
}
function cacheClear()
{
var o=document.getElementById("VerifyImage");
o.src="VerifyCode.ashx?rnd="+new Date().getTime();
}
</script><table width="100%" border="0" cellpadding="4" cellspacing="1" class="table_b2">
<tr>
<td colspan="2" class="td_b2">发表评论</td>
</tr>
<tr>
<td>用户名:</td>
<td><asp:TextBox ID="Username" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>邮件:</td>
<td><asp:TextBox ID="Email" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>博客/主页</td>
<td><asp:TextBox ID="Homepage" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>内容:</td>
<td><asp:TextBox ID="Content" runat="server" Height="104px" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td>验证码:</td>
<td><input id="txtVerifyCode" type="text" size="10" name="txtVerifyCode"
runat="server" tabIndex="50" style="width: 30px">
<IMG id="VerifyImage" alt="" src="VerifyCode.ashx" name="VerifyImage">
<a href="javascript:refresh();" tabIndex="-1">看不清楚换一张</a></td>
</tr>
<tr>
<td> </td>
<td><asp:Button ID="btnSubmit" runat="server" Text="Submit"
onclick="btnSubmit_Click" />
<asp:Button ID="BtnCancle" runat="server" Text="Cancle" /></td>
</tr>
</table>
<script language="javascript">
cacheClear();
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -