create_t.aspx

来自「实现投票 实现一个数据表多个投票系统 实现一个数据表多个投票系统实现一个数据表」· ASPX 代码 · 共 32 行

ASPX
32
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="create_t.aspx.cs" Inherits="create_t" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        投票标题:<asp:TextBox ID="TextBox1" runat="server" Width="203px"></asp:TextBox><br />
        ----------------------------------------------<br />
        内容示例:&nbsp;
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; 标题:今天你吃了吗?<br />
        &nbsp; &nbsp; &nbsp; &nbsp; 内容: &nbsp; &nbsp; 0,没吃<br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1,吃了<br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0,刚吃
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
        &nbsp; &nbsp; &nbsp; &nbsp; 内容中的第一个数字,代表票数.<br />
        ---------------------------------------------<br />
        投票内容:<br />
        <asp:TextBox ID="TextBox2" runat="server" Height="167px" TextMode="MultiLine"
            Width="270px"></asp:TextBox><br />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="创建投票" />
        <asp:Label ID="Label1" runat="server"></asp:Label>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">返回查看</asp:HyperLink></div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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