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

📄 writeweeklog.aspx

📁 毕业设计+图书管理系统+源码 需要的人下载。
💻 ASPX
字号:
<%@ Page Language="VB" MasterPageFile="~/student/studentMasterPage.master" AutoEventWireup="false" 
CodeFile="WriteWeekLog.aspx.vb" Inherits="student_WriteWeekLog" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
</script>

    &nbsp;<asp:FormView ID="FormView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1"
        Height="286px" Style="left: 5px; position: relative; top: -13px" Width="922px">
        <EditItemTemplate>
            WeekNo:
            <asp:TextBox ID="WeekNoTextBox" runat="server" Text='<%# Bind("WeekNo") %>'>
            </asp:TextBox><br />
            LogContent:
            <asp:TextBox ID="LogContentTextBox" runat="server" Text='<%# Bind("LogContent") %>'>
            </asp:TextBox><br />
            TeacherComment:
            <asp:TextBox ID="TeacherCommentTextBox" runat="server" Text='<%# Bind("TeacherComment") %>'>
            </asp:TextBox><br />
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                Text="更新">
            </asp:LinkButton>
            <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                Text="取消">
            </asp:LinkButton>
        </EditItemTemplate>
        <InsertItemTemplate>
            WeekNo:
            <asp:TextBox ID="WeekNoTextBox" runat="server" Text='<%# Bind("WeekNo") %>'>
            </asp:TextBox><br />
            LogContent:
            <asp:TextBox ID="LogContentTextBox" runat="server" Text='<%# Bind("LogContent") %>'>
            </asp:TextBox><br />
            TeacherComment:
            <asp:TextBox ID="TeacherCommentTextBox" runat="server" Text='<%# Bind("TeacherComment") %>'>
            </asp:TextBox><br />
            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
                Text="插入">
            </asp:LinkButton>
            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                Text="取消">
            </asp:LinkButton>
        </InsertItemTemplate>
        <ItemTemplate>
            <div style="text-align: center">
                <table border="2" style="width: 100%; position: relative; height: 100%">
                    <tr>
                        <td colspan="2" style="height: 10%">
                            第<asp:Label ID="WeekNoLabel" runat="server" Style="position: relative" Text='<%# Bind("WeekNo") %>'></asp:Label>周周志</td>
                    </tr>
                    <tr>
                        <td style="width: 10%; height: 291px">
                            周<br />
                            志<br />
                            内<br />
                            容</td>
                        <td style="width: 100px; height: 291px">
                            <asp:Label ID="LogContentLabel" runat="server" Style="position: relative" Text='<%# Bind("LogContent") %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="height: 173px">
                            教<br />
                            师<br />
                            评<br />
                            论</td>
                        <td style="width: 100px; height: 173px">
                            <asp:Label ID="TeacherCommentLabel" runat="server" Style="position: relative" Text='<%# Bind("TeacherComment") %>'></asp:Label></td>
                    </tr>
                </table>
            </div>
        </ItemTemplate>
    </asp:FormView>
     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:GDMSConnectionString %>"
        SelectCommand="SELECT [WeekNo], [LogContent], [TeacherComment] FROM [weekLog] WHERE ([StudentNo] = @StudentNo)">
         <SelectParameters>
             <asp:SessionParameter Name="StudentNo" SessionField="userid" Type="String" />
         </SelectParameters>
     </asp:SqlDataSource>
        <div style="color:#BDFF2C; background-color:#858585; text-align:center; ">
写周志
</div>
    &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="left: 0px; width: 100%;
        position: relative; top: 0px; height: 153%; text-align: center">
        <tr>
            <td colspan="2" style="height: 24px">
                周次:<asp:TextBox ID="TextBox1" runat="server" Style="position: relative"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 40px; height: 184px">
                填<br />
                写<br />
                周<br />
                志<br />
                内<br />
                容</td>
            <td style="width: 886px; height: 184px">
                <asp:TextBox ID="TextBox2" runat="server" Height="233px" Style="left: -4px; position: relative;
                    top: 1px" TextMode="MultiLine" Width="883px"></asp:TextBox></td>
        </tr>
    </table>
    <table>
        <tr>
            <td style="width: 100px; height: 27px">
                课题编号:</td>
            <td style="width: 183px; height: 27px">
            </td>
        </tr>
    </table>
    <asp:Button ID="Button1" runat="server" Height="46px" Style="left: 398px; position: relative;
        top: 0px" Text="确认提交周志" Width="120px" />
    <asp:TextBox ID="TextBox3" runat="server" Style="position: relative; left: 6px; top: -49px;"></asp:TextBox>
</asp:Content>

⌨️ 快捷键说明

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