Admin/SurveyType.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SurveyType.aspx.cs" Inherits="Admin_SurveyType" %>

<!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 id="Head1" runat="server">
   <title>Untitled Page</title>
        <link type="text/css" rel="stylesheet" href="styles/style.css" />
<script src="js/common.js"></script></head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="C_Left_03" valign="top" width="8"><img height="7" src="Images/Admin_22.gif" width="8" /></td>
        <td class="C_Left_01">&nbsp;</td>
        <td class="C_Left_04" valign="top" width="8"><img height="7" src="Images/Admin_25.gif" width="8" /></td>
      </tr>
      <tr>
        <td class="C_Left_03" style="height: 362px">&nbsp;</td>
        <td class="C_Middle" style="height: 362px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="96" align="center" valign="top"><table width="95%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="25" align="left" class="Basic_Title" style="width: 722px">
                        ·测试类别管理</td>
                  </tr>
                  <tr>
                    <td align="center" style="height: 43px; width: 722px;">&nbsp;
                   <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="100%" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating">
                    <Columns>
                       
                        <asp:TemplateField HeaderText="编号">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server"><%# Eval("id") %></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="类别名称">
                                <EditItemTemplate>
                                    <asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name") %>' Width="60"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label2" runat="server"><%# Eval("Name")%></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                                         
                        <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                        <asp:CommandField ShowDeleteButton="True" HeaderText="删除" />
                    </Columns>
                        <HeaderStyle BackColor="#F6F6F6" />
                        </asp:GridView></td>
                  </tr>
                  <tr>
                    <td height="43" align="center" style="height: 43px; width: 722px;">
                        类别名称:<asp:TextBox ID="txtUser" runat="server" Width="79px"></asp:TextBox>&nbsp;&nbsp;
                        &nbsp; &nbsp;
                        <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="添 加" />&nbsp;
                    </td>
                  </tr>
              </table></td>
后面还有 14 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。