📄 sellercoalinfo.aspx
字号:
<%@ Page Language="C#" Debug="true" MasterPageFile="~/Seller.master" AutoEventWireup="true" CodeFile="SellerCoalInfo.aspx.cs" Inherits="SellerCoalInfo" Title="销售信息查询|-51aspx.com" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
CellPadding="3" CellSpacing="2" DataKeyNames="CoalID" DataSourceID="SqlDataSource1"
Style="position: relative">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="CoalID" HeaderText="CoalID" InsertVisible="False" ReadOnly="True"
SortExpression="CoalID" />
<asp:BoundField DataField="CoalName" HeaderText="CoalName" SortExpression="CoalName" />
<asp:BoundField DataField="CoalSource" HeaderText="CoalSource" SortExpression="CoalSource" />
<asp:BoundField DataField="CoalPrice" HeaderText="CoalPrice($/t)" SortExpression="CoalPrice" />
<asp:BoundField DataField="CoalTotal" HeaderText="CoalTotal(t)" SortExpression="CoalTotal" />
</Columns>
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [Coal]"></asp:SqlDataSource>
<table>
<tr>
<td>查询煤炭销往去处</td>
</tr>
<tr>
<td><asp:TextBox ID="TextBox1" runat="server">
</asp:TextBox></td>
</tr>
<tr>
<td><asp:Button ID="Button1" runat="server" Text="根据ID号查询" OnClick="Button1_Click"/></td>
</tr>
</table>
<asp:DataGrid ID="DataGrid1" runat="server" Style="position: relative">
</asp:DataGrid></div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -