?? productin.ascx
字號:
?<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductIn.ascx.cs" Inherits="controls_ProductIn" %>
<table style="width: 701px">
<tr>
<td style="width: 172px">
書名:</td>
<td style="width: 22px">
<asp:TextBox ID="txtname" runat="server" Width="173px"></asp:TextBox></td>
<td>
所屬目錄</td>
<td>
<asp:DropDownList ID="ddlcategory" runat="server" Width="152px" DataSourceID="SqlDataSource1" DataTextField="CategoryName" DataValueField="CategoryID">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:BookShopConnectionString %>"
SelectCommand="SELECT [CategoryName], [CategoryID] FROM [Category]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 172px">
入庫數量:</td>
<td style="width: 22px">
<asp:TextBox ID="txtcount" runat="server" Width="173px"></asp:TextBox></td>
<td>
封面地址:</td>
<td>
<asp:TextBox ID="txtimage" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 172px">
價格:</td>
<td style="width: 22px">
<asp:TextBox ID="txtprice" runat="server" Width="174px"></asp:TextBox></td>
<td>
供應商:</td>
<td>
<asp:DropDownList ID="ddlsupplier" runat="server" Width="152px" DataSourceID="SqlDataSource2" DataTextField="SupplierName" DataValueField="SupplierID">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:BookShopConnectionString %>"
SelectCommand="SELECT [SupplierID], [SupplierName] FROM [Supplier]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 172px">
簡介:</td>
<td style="width: 22px">
<asp:TextBox ID="txtdesc" runat="server" Rows="3" TextMode="MultiLine"></asp:TextBox></td>
<td>
<asp:Button ID="Button1" runat="server" Text="入庫" Width="76px" OnClick="Button1_Click" /></td>
<td>
<asp:Label ID="Label1" runat="server"></asp:Label></td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -