?? dropdownlist.aspx
字號:
?<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DropDownlist.aspx.cs" Inherits="DropDownlist" %>
<!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 style="background-color: silver">
<form id="form1" runat="server" method="get" action="mainpage.aspx">
<div>
<table style="width: 180px" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 177px; height: 22px;" colspan="2">
<asp:Label ID="Label1" runat="server" Text="單位:" Width="49px"></asp:Label><br />
<asp:DropDownList ID="ddgongsi" runat="server" Width="147px" AutoPostBack="True" OnSelectedIndexChanged="ddgongsi_SelectedIndexChanged" style="background-color: silver">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 177px; height: 47px;" colspan="2">
<asp:Label ID="Label2" runat="server" Text="部門:" Width="48px"></asp:Label><br />
<asp:DropDownList ID="ddbumen" runat="server" Width="142px" OnSelectedIndexChanged="ddbumen_SelectedIndexChanged" style="background-color: silver">
</asp:DropDownList></td>
</tr>
<tr>
<td colspan="2" align="center" style="width: 177px">
<asp:Button ID="Button1" runat="server" NavigateUrl="salen.aspx" target="mainFrame" Text="Button" OnClick="Button1_Click" style="background-color: silver" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -