您目前尚未登陆,请选择【登陆】或【注册
首页->博客论坛->WO@BIZ第一季1.2版源码>>admin/ProductCat.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:WO@BIZ第一季1.2版源码
当前文件:文件类型 WOBIZ/admin/ProductCat.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductCat.aspx.cs" Inherits="admin_ProductCat" %> 2 3<%@ Register TagPrefix="cc1" Namespace="WoNextDll.commen.PageInfo" Assembly="WoNextDll" %> 4 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6 7<html xmlns="http://www.w3.org/1999/xhtml" > 8<head runat="server"> 9 <title>宝贝分类</title> 10 <link href="Css/admin.css" rel="stylesheet" type="text/css" /> 11</head> 12<body> 13 <form id="form1" runat="server"> 14 <div> 15 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 16 <tr> 17 <td width="10"><img src="Images/z-top_left.gif" width="10" height="33"></td> 18 <td valign="bottom" background="Images/z-center_center.gif"><table width="100" border="0" cellspacing="0" cellpadding="0"> 19 <tr> 20 <td width="3"><img src="Images/left1.gif" width="3" height="29"></td> 21 <td background="Images/center1.gif"><div align="center"><strong>宝贝管理</strong></div></td> 22 <td width="3"><img src="Images/right1.gif" width="3" height="29"></td> 23 </tr> 24 </table></td> 25 <td width="5"><img src="Images/z-top_right.gif" width="13" height="33"></td> 26 </tr> 27 <tr> 28 <td background="Images/z-center_left.gif">&nbsp;</td> 29 <td height="470" valign="top" bgcolor="#FFFFFF"><DIV id=incontent-post> 30 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 31 <tr> 32 <td width="220" class="postbg">当前位置:宝贝分类</td><td><asp:Button ID="Button1" runat="server" CssClass="button" OnClick="Button1_Click" 33 Text="添加新类别" /></td> 34 </tr> 35 <tr> 36 <td>&nbsp;</td> 37 </tr> 38 </table> 39 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 40 <tr> 41 <td> 42 <asp:GridView ID="Dlist" runat="server" AutoGenerateColumns="False" Width="100%" DataKeyNames="id" OnRowCommand="Dlist_RowCommand" OnRowDataBound="Dlist_RowDataBound"> 43 <Columns> 44 <asp:BoundField DataField="id" HeaderText="编号"> 45 <ItemStyle HorizontalAlign="Center" Width="15%" /> 46 </asp:BoundField> 47 <asp:BoundField DataField="name" HeaderText="类别名称"> 48 <ItemStyle HorizontalAlign="Center" Width="30%" /> 49 </asp:BoundField> 50 <asp:BoundField DataField="fromtypeid" HeaderText="所属类别"> 51 <ItemStyle HorizontalAlign="Center" Width="30%" /> 52 </asp:BoundField> 53 <asp:BoundField DataField="orderid" HeaderText="排序"> 54 <ItemStyle HorizontalAlign="Center" Width="10%" /> 55 </asp:BoundField> 56 <asp:TemplateField HeaderText="操作"> 57 <ItemStyle HorizontalAlign="Center" Width="15%" /> 58 <ItemTemplate> 59 &nbsp;<a href='AddProCat.aspx?Flag=Edit&id=<%# Eval("id") %>'>修改</a> | &nbsp; 60 <asp:LinkButton ID="LinkButton1" runat="server" CommandName="lbdel" CommandArgument='<%#Eval("id") %>' OnClientClick="return confirm('确认要删除这个类别吗?\n删除会把该类别的所有产品全部删除的!');">删除</asp:LinkButton> 61 </ItemTemplate> 62 </asp:TemplateField> 63 </Columns> 64 </asp:GridView> 65 </td> 66 </tr> 67 <tr><td><cc1:jpage id="Jpage1" runat="server" borderstyle="Dashed" jpagesize="10" width="95%" Jcachetime="0"></cc1:jpage></td></tr> 68 <tr> 69 <td height="30" colspan="4"><div align="right"></div></td> 70 </tr> 71 </table> 72 73 </DIV> 74 </td> 75 <td background="Images/z-center_right.gif">&nbsp;</td> 76 </tr> 77</table> 78 79 </div> 80 </form> 81</body> 82</html> 83
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:WO@BIZ第一季1.2版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号