📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body style="text-align: center">
<form id="form1" runat="server">
<div>
<table cellpadding="0" cellspacing="0" style="width: 524px; background-image: url(Images/图片2 拷贝.jpg); height: 299px;">
<tr>
<td style="height: 81px">
</td>
<td style="height: 81px">
</td>
</tr>
<tr>
<td style="height: 178px; background-image: url(Images/背景图10.jpg);">
<fieldset style="width: 240px; background-image: url(Images/1294850_472733.gif); border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
<legend class="mainTitle"><span style="font-size: 10pt">通过ADO.NET数据库操作技术删除数据库表中所有的记录内容</span></legend>
<table cellpadding="0" cellspacing="0" style="width: 404px; height: 297px; border-top-style: ridge; border-right-style: ridge; border-left-style: ridge; border-bottom-style: ridge;">
<tr>
<td colspan="2">
<table bgcolor="#ccffff" cellpadding="0" cellspacing="0" style="width: 360px; height: 46px; background-color: #ffcc99;">
<tr>
<td style="width: 89px; height: 30px">
<asp:Label ID="Label2" runat="server" Font-Size="9pt" Text="选择数据表"></asp:Label></td>
<td align="left" style="width: 80px; height: 30px">
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" Font-Size="9pt"
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Width="124px">
</asp:DropDownList></td>
<td align="left" style="width: 94px; height: 30px">
<asp:Button ID="Button1" runat="server" Font-Size="9pt" OnClick="Button1_Click" Text="删除表中记录" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="height: 155px; border-top-style: inset; border-right-style: inset; border-left-style: inset; border-bottom-style: inset;">
<asp:GridView ID="GridView1" runat="server" CellSpacing="2"
Font-Size="9pt" Width="389px" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<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>
</td>
</tr>
</table>
</fieldset>
</td>
<td style="height: 178px">
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -