📄 webform2.aspx
字号:
<%@ import Namespace="System.Data.SqlClient" %>
<%@ import Namespace="System.Data" %>
<%@ Page Language="c#" codebehind="WebForm2.aspx.cs" autoeventwireup="false" Inherits="WebApplication5.WebForm2" %>
<HTML>
<HEAD>
<link href="style/blue.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form runat="server" ID="Form1">
<center>
<table height="40" cellspacing="0" cellpadding="0" width="650" background="image/image23.bmp">
<tbody>
<tr>
<td height="30">
<asp:ImageButton id="Img_save" runat="server" ImageAlign="Middle" ImageUrl="image/save.bmp"></asp:ImageButton>
</td>
</tr>
</tbody>
</table>
<table bordercolor="#ffc080" height="326" cellspacing="0" cellpadding="0" width="650" border="1">
<tbody>
<tr>
<td height="50">
<table style="WIDTH: 643px; HEIGHT: 26px">
<tbody>
<tr>
<td width="30">
</td>
<td width="100">
序号:<asp:TextBox id="Txt_ID" runat="server" Width="58px"></asp:TextBox>
</td>
<td width="280">
货物名称:<asp:TextBox id="Txt_Name" runat="server" Width="218px"></asp:TextBox>
</td>
<td>
备注:<asp:TextBox id="Txt_Remark" runat="server"></asp:TextBox>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<div id="div1" style="OVERFLOW: auto; HEIGHT: 210px" align="center">
<asp:Panel id="Panel1" runat="server" Width="625px" Height="240px">
<asp:DataGrid id="DataGrid1" runat="server" Width="610px" AutoGenerateColumns="False" CellPadding="3"
BackColor="White" BorderColor="#CCCCCC" BorderWidth="1px" BorderStyle="None" ShowFooter="True">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedItemStyle>
<ItemStyle ForeColor="#000066"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#006699"></HeaderStyle>
<FooterStyle ForeColor="#000066" BackColor="SeaShell"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="c_id" HeaderText="序号">
<HeaderStyle Height="30px" Width="50px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="c_name" HeaderText="货物名称">
<HeaderStyle Height="25px" Width="200px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="c_remark" HeaderText="摘要"></asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#000066" BackColor="White" Mode="NumericPages"></PagerStyle>
</asp:DataGrid>
</asp:Panel>
</div>
</td>
</tr>
</tbody>
</table>
</center>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -