📄 test.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Register Assembly="MagicAjax" Namespace="MagicAjax.UI.Controls" TagPrefix="ajax" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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>
<form id="form1" runat="server">
<div style=" border:2; position:absolute; left:45px; width: 291px; top: 0px;">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="width: 96px">
<asp:DropDownList id="dropleibie" runat="server" Width="100px"></asp:DropDownList>
</td>
<td style="width: 41px">
<asp:DropDownList ID="dropnature" runat="server">
<asp:ListItem>自购</asp:ListItem>
<asp:ListItem>配送</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 147px">
<ajax:ajaxpanel id="AjaxPanel1" runat="server"><asp:Button id="btnenter" runat="server" Text="查询" OnClick="btnenter_Click"></asp:Button></ajax:ajaxpanel></td>
</tr>
</table>
</div>
<div style="border:2; position:absolute; top:316px; left:93px; width: 331px; height: 132px;">
<ajax:AjaxPanel ID="AjaxPanel2" runat="server">
<asp:GridView id="GridView1" runat="server" ForeColor="#333333" CellPadding="4" GridLines="None" AutoGenerateColumns="False" DataKeyNames="order_ID" OnRowEditing="GridView1_RowEditing" Width="670px">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="order_PM" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_Supply" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_GG" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_Type" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_Nature" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_Price" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:BoundField DataField="order_Suoxie" >
<ItemStyle Font-Size="Small" />
</asp:BoundField>
<asp:CommandField ShowEditButton="True" >
<ItemStyle Font-Size="Small" />
</asp:CommandField>
</Columns>
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</ajax:AjaxPanel></div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -