admin/DataInput.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="DataInput.aspx.cs" Inherits="admin_zhuce" %>

<!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>Excel数据写入数据库中</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" cellpadding="0" cellspacing="0" border="1" bordercolor="honeydew">
            <tr>
                <td style="font-size: 9pt;color: #ff0000; background-color: #ff9933;
                    text-align: center; height: 16px;">
                </td>
                <td colspan="2" style="font-size: 9pt; color: #ffffff; height: 16px; background-color: #ff9933;
                    text-align: center">
                    将Excel数据写入数据库中</td>
            </tr>
            <tr>
                <td style="background-color: #ffffcc; text-align: center">
                </td>
                <td style="background-color: #ffffcc; text-align: center" colspan="2">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>  
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                    <asp:GridView ID="GridView1" runat="server" CellPadding="4" Font-Size="9pt" 
                        AllowPaging="True" AutoGenerateColumns="False" BackColor="White" 
                        BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" 
                        onpageindexchanging="GridView1_PageIndexChanging" PageSize="15">
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="ID" />
                            <asp:BoundField DataField="que_subject" HeaderText="标题" />
                            <asp:BoundField DataField="que_type" HeaderText="类型" />
                            <asp:BoundField DataField="que_joindate" HeaderText="日期" />
                            <asp:BoundField DataField="que_lessonid" HeaderText="专业" />
                            <asp:BoundField DataField="que_professionid" HeaderText="课题" />
                            <asp:BoundField DataField="que_taotiid" HeaderText="套题" />
                            <asp:BoundField DataField="frontTitle" HeaderText="填空前" />
                            <asp:BoundField DataField="backTitle" HeaderText="填空后" />
                            <asp:BoundField DataField="optionA" HeaderText="选项A" />
                            <asp:BoundField DataField="optionB" HeaderText="选项B" />
                            <asp:BoundField DataField="optionC" HeaderText="选项C" />
                            <asp:BoundField DataField="optionD" HeaderText="选项D" />
                            <asp:BoundField DataField="optionF" HeaderText="选项F" />
                            <asp:BoundField DataField="optionT" HeaderText="选项T" />
                            <asp:BoundField DataField="que_answer" HeaderText="答案" />
                            <asp:BoundField DataField="note" HeaderText="备注" />
                        </Columns>
                        <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                        <RowStyle BackColor="White" ForeColor="#003399" />
                        <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                        <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                        <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                    </asp:GridView></ContentTemplate></asp:UpdatePanel> 
                </td>
            </tr>
            <tr>
后面还有 14 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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