您目前尚未登陆,请选择【登陆】或【注册
首页->电子商务->明日网上商城购物系统源码>>Manger/ShipArea.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:明日网上商城购物系统源码
当前文件:文件类型 MingriNetShop/Manger/ShipArea.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShipArea.aspx.cs" Inherits="Manger_ShipArea" %> 2 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5<html xmlns="http://www.w3.org/1999/xhtml" > 6<head runat="server"> 7 <title>无标题页</title> 8</head> 9<body style ="font-family :宋体; font-size :9pt;"> 10 <form id="form1" runat="server"> 11 <div> 12 <table cellSpacing="0" cellPadding="0" width="400" align="center" border="0"> 13 <tr> 14 <th height="25" align="left"> 15 16 <asp:Label id="lblAction" runat="server"></asp:Label></th> 17 18 <tr> 19 </tr> 20 </table> 21 <% if(this.Request.QueryString["Action"] == "Manage"){%> 22 <table cellSpacing="0" cellPadding="0" width="400" align="center" border="0"> 23 <tr> 24 <td height="23" > 25 <asp:GridView ID="gvArea" runat="server" AllowPaging =true AutoGenerateColumns =false DataKeyNames ="AreaID" Width =100% HeaderStyle-HorizontalAlign =center HeaderStyle-CssClass="summary-title" OnPageIndexChanging="gvArea_PageIndexChanging" OnRowDeleting="gvArea_RowDeleting" > 26 <Columns> 27 <asp:BoundField DataField="AreaID" HeaderText="序号" HeaderStyle-HorizontalAlign =left ItemStyle-HorizontalAlign=left ItemStyle-Width =30px/> 28 <asp:BoundField DataField="AreaName" HeaderText="地点名称" HeaderStyle-HorizontalAlign =center ItemStyle-HorizontalAlign=center ItemStyle-Width =100px/> 29 <asp:BoundField DataField="AreaKM" HeaderText="公里数" HeaderStyle-HorizontalAlign =center ItemStyle-HorizontalAlign=center ItemStyle-Width =100px/> 30 <asp:TemplateField> 31 <HeaderStyle HorizontalAlign="Center"></HeaderStyle> 32 <ItemStyle HorizontalAlign="Center" Width="30px"></ItemStyle> 33 <ItemTemplate> 34 <a href='ShipArea.aspx?Action=Modify&AreaID=<%# DataBinder.Eval(Container.DataItem, "AreaID") %>'> 35 修改</a> 36 </ItemTemplate> 37 </asp:TemplateField> 38 39 <asp:CommandField ShowDeleteButton="True" /> 40 </Columns> 41 </asp:GridView> 42 </td> 43 </tr> 44 </table> 45 <%}if(this.Request.QueryString["Action"] == "Add" | this.Request.QueryString["Action"] == "Modify"){%> 46 <table cellSpacing="0" cellPadding="0" width="400" align="center" border="0"> 47 <tr> 48 <td height="23"> 49 <table class="tableBorder" cellSpacing="0" cellPadding="0" width="95%" align="center" border="0"> 50 <tr> 51 <td align="left" style="height: 24px"> 52 地点名称: 53 </td> 54 <td style="height: 24px"> 55 <asp:TextBox id="txtName" runat="server"></asp:TextBox> 56 </td> 57 </tr> 58 <tr> 59 <td align="left" style="height: 24px"> 60 公里数: 61 </td> 62 <td style="height: 24px"> 63 <asp:TextBox id="txtKM" runat="server"></asp:TextBox> 64 公里</td> 65 </tr> 66 <tr> 67 <td align="center" colspan="2"><br> 68 <asp:Button id="btnSave" runat="server" Text="保存" OnClick="btnSave_Click"></asp:Button> 69 </td> 70 </tr> 71 </table> 72 </td> 73 </tr> 74 </table> 75 <%}%> 76 </div> 77 </form> 78</body> 79</html> 80
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:明日网上商城购物系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号