📄 default.aspx
字号:
<%@ Page Language="VB"MasterPageFile="~/Teacher/teacherMasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Teacher_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DataList ID="DataList1" runat="server" DataSourceID="noticetotea" BackColor="White" BorderColor="DodgerBlue" BorderStyle="Ridge" BorderWidth="3px" CellPadding="3" CellSpacing="1" GridLines="Horizontal" Width="600px" Font-Size="Smaller">
<ItemTemplate>
通知标题:
<asp:Label ID="NoticeTitleLabel" runat="server" Text='<%# Eval("NoticeTitle") %>'>
</asp:Label><br />
日期:<asp:Label ID="DateLabel" runat="server" Text='<%# Eval("Date") %>'></asp:Label><br />
<br />
<br />
</ItemTemplate>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<SelectedItemStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<ItemStyle BackColor="#DEDFDE" ForeColor="Black" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:DataList> <asp:SqlDataSource ID="noticetotea" runat="server" ConnectionString="<%$ ConnectionStrings:GDMSConnectionString %>"
SelectCommand="SELECT [NoticeTitle], [Date] FROM [notice] WHERE ([NoticeObject] = @NoticeObject)">
<SelectParameters>
<asp:Parameter DefaultValue="教师" Name="NoticeObject" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:Label ID="NOtitle" runat="server" Text="请输入您想打开的通知标题"></asp:Label>
<asp:DropDownList ID="noticetitle" runat="server" DataSourceID="noticetotea" DataTextField="NoticeTitle"
DataValueField="NoticeTitle">
</asp:DropDownList>
<asp:Button ID="ensure" runat="server" Text="确定打开" /><br />
<asp:TextBox ID="noticecontent" runat="server" Height="88px" TextMode="MultiLine"
Width="419px" Font-Bold="True" ForeColor="DodgerBlue" Font-Size="Larger"></asp:TextBox>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -