You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
1.3 KiB

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CoalInfo.aspx.cs" Inherits="CoalInfo" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="center">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="#DEBA84"
BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2"
DataKeyNames="CoalID" DataSourceID="SqlDataSource1" Style="position: relative" AllowPaging="True" OnRowDeleting="GridView1_RowDeleting">
<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" />
<asp:TemplateField ShowHeader="False">