📄 editclient.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="editclient.ascx.cs" Inherits="control_alterclient" %>
<table style="width: 574px; height: 160px">
<tr>
<td colspan="2" style="height: 16px; width: 554px; text-align: center;">
<span style="font-size: 16pt; color: #66cccc"><strong>客户信息编辑</strong></span></td>
</tr>
<tr>
<td style="width: 554px" colspan="2" rowspan="3">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" Width="547px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
<FooterStyle BackColor="White" ForeColor="#000066" />
<Columns>
<asp:BoundField DataField="客户编号" HeaderText="客户编号" />
<asp:BoundField DataField="客户名称" HeaderText="客户名称" />
<asp:BoundField DataField="联系人" HeaderText="联系人" />
<asp:BoundField DataField="联系电话" HeaderText="联系电话" />
<asp:BoundField DataField="联系地址" HeaderText="联系地址" />
<asp:CommandField HeaderText="操作" ShowEditButton="True" ButtonType="Button" />
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<asp:Button ID="Button1" runat="server" CausesValidation="False" CommandName="Delete" OnClientClick="return confirm('您确认要删除吗?')"
Text="删除" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle ForeColor="#000066" />
<SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
<HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -