⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_vote_add.aspx

📁 运行平台:ASP.NET+ACCESS 添加时间:2007-3-30 文件大小:1.6M 授权方式:免费程序 推荐程度: 浏览次数:269次 下载次数:151次 开 发 商:点击查看
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="AyNews.WebUI.Admin_Vote_Add" Codebehind="Admin_Vote_Add.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>投票管理</title>
<script language="javascript" src="JS/Common.js" charset="gb2312"></script>
</head>
<body>
<form id="form1" runat="server">
<input type="hidden" id="edit_id" runat="server">
 <TABLE width="98%" height="40" border="0" align="center" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="sys_title_left" align="center">&nbsp;<font class="font_title">增加投票</font>&nbsp;</td>
    </tr>
  </TABLE> 
 <table class="dg_TableStyle" cellspacing="1" cellpadding="2" align="Center" border="0">
    <TR class="dg_ItemStyle">
      <TD width="15%" height="23"><div align="right"><U>投票标题</U></div></TD>
      <TD width="85%" height="23"><INPUT class="htc_txt" type="text" maxLength="30" id="VoteTitle" runat="server" />
      <asp:RequiredFieldValidator ID="rfv_VoteTitle" runat="server" ErrorMessage="请输入投票标题" ControlToValidate="VoteTitle" Display="None"></asp:RequiredFieldValidator></TD>
    </TR>
    <TR class="dg_ItemStyle">
      <TD height="23"><div align="right"><U>投票方式</U></div></TD>
      <TD height="23">
      <asp:RadioButtonList ID="rblVotetype" runat="server" RepeatDirection="horizontal" ></asp:RadioButtonList>
      </TD>
    </TR>
        <tr class="dg_ItemStyle">
      <td height="23"><div align="right"><U>首页显示</U></div></td>
      <td><asp:CheckBox ID="chk_IsIndex" runat="server" /></td>
    </tr>
    <TR class="dg_ItemStyle">
    <td><div align="right"><U>投票选项</U></div></td>
      <TD id="opid" ><table width="540" border="0" cellpadding="2" cellSpacing="0">
                            <tr class="td_heading">
                              <td width="50%" height="20">选项(每一行为一项)</td>
                              <td  width="50%">票数</td>
                            </tr>
                            <tr>
                              <td height="120"><table class="numTable" height="100" cellSpacing="0" cellPadding="0" width="100%">
                                  <tr>
                                    <td width="24" bgColor="#eeeeee" height="100"><div class="numLine" id="linenum1"></div></td>
                                    <td align="right" width="250"><textarea id="VoteOption" style="width:260px; line-height:16px; height:100px; border-width:0px" runat="server"></textarea>
                                        <asp:RequiredFieldValidator ID="rfv_VoteOption" runat="server" ErrorMessage="请输入投票选项" ControlToValidate="VoteOption" Display="None"></asp:RequiredFieldValidator></td>
                                  </tr>
                                </table></td>
                              <td><table class="numTable" height="100" cellSpacing="0" cellPadding="0" width="100%">
                                  <tr>
                                    <td width="24" bgColor="#eeeeee" height="100"><div class="numLine" id="linenum2"></div></td>
                                    <td align="right" width="250"><textarea id="StatCount" style="width:260px; line-height:16px; height:100px; border-width:0px" runat="server"></textarea></td>
                                  </tr>
                                </table></td>
                            </tr>
                          </table>
      </TD>
    </TR>
    <tr class="dg_ItemStyle"><td>&nbsp;</td><td><input type="submit" class="htc_btn" id="btn_add" value="添加(S)" runat="server" accesskey="S"></td></tr>
  </TABLE>
<script type="text/javascript">
LineNum(document.getElementById("VoteOption"),document.getElementById("linenum1"),"");
LineNum(document.getElementById("StatCount"),document.getElementById("linenum2"),"0<br>");
</script>

    <asp:ValidationSummary ID="vs_Vote" runat="server" ShowMessageBox="True" ShowSummary="False" />
		
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -