admin.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:2k
源码类别:
.net编程
开发平台:
C#
- <%@ Page Inherits="huang.admin_class" Language="C#" src="cs/huang.cs" %>
- <html>
- <head>
- <link href="css/css.css" rel="stylesheet" type="text/css">
- <style type="text/css">
- <!--
- a { color: black; text-decoration: none}
- a:hover { color:green; text-decoration: underline; position : relative; top : 1px; left : 1px;}
- -->
- </style>
- <title></title>
- </head>
- <body class="ziti" >
- <form runat="server" >
- <center>
- <asp:DataGrid id="huang" runat="server"
- AutoGenerateColumns="False"
- OnEditCommand="DataGrid_EditCommand"
- OnUpdateCommand="DataGrid_UpdateCommand"
- OnCancelCommand="DataGrid_CancelCommand"
- Width="700px"
- style=" font-family: Arial, Helvetica, sans-serif; font-size: 9pt; font-style: normal; border-left: 1pt none; bottom: 1pt;">
- <HeaderStyle Font-Bold="True" ></HeaderStyle>
- <Columns>
- <asp:EditCommandColumn HeaderText="操作区"
- EditText="修改"
- UpdateText="更新"
- CancelText="删除"
- ButtonType="PushButton"
- />
- <asp:BoundColumn HeaderText="编号" DataField="id" ReadOnly="True"/>
- <asp:BoundColumn HeaderText="分类1" DataField="Fid1" ReadOnly="True"/>
- <asp:BoundColumn HeaderText="分类2" DataField="Fid2" ReadOnly="True" />
- <asp:BoundColumn HeaderText="名称" DataField="Fid2Name" ReadOnly="True" />
- <asp:BoundColumn HeaderText="描述" DataField="Des" ReadOnly="True" />
- <asp:BoundColumn HeaderText="logo" DataField="Fimg" ReadOnly="True" />
- <asp:BoundColumn HeaderText="斑竹" DataField="ban" ReadOnly="True"/>
- </Columns>
- </asp:DataGrid>
- <table class=ziti>
- <tr><td>论坛分类1</td><td><asp:TextBox id="td1" runat="server" Columns="10" class="unnamed2"/></td></tr>
- <tr><td>论坛分类2</td><td><asp:TextBox id="td2" runat="server" Columns="78" class="unnamed2"/></td></tr>
- <tr><td>版块名</td><td><asp:TextBox id="td3" runat="server" Columns="78" class="unnamed2"/></td></tr>
- <tr><td>描述</td><td><asp:TextBox id="td4" runat="server" Columns="78" class="unnamed2"/></td></tr>
- <tr><td>描述</td><td><asp:TextBox id="td5" runat="server" Columns="78" class="unnamed2"/></td></tr>
- <tr><td>版主:</td><td><asp:TextBox id="td6" runat="server" Columns="78" class="unnamed2"/></td></tr>
- </table>
- </center>
- </form>
- </body>
- </html>