您目前尚未登陆,请选择【登陆】或【注册
首页->投票调查->简单多功能投票/调查系统源码>>TopicManage.aspx>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:简单多功能投票/调查系统源码


当前文件路径:Votes/TopicManage.aspx 文件类型
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TopicManage.aspx.cs" Inherits="TopicManage" %> 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" dir="ltr" > 6<head runat="server"> 7 <title>无标题页</title> 8</head> 9<body style="font-size:12px;"> 10<!--download from 51aspx.com(51aspx.com)--> 11 12 <form id="form1" runat="server"> 13 <div> 14 <table style="width: 617px; height: 48px"> 15 <tr> 16 <td style="width: 70px; height: 29px"> 17 </td> 18 <td style="width: 147px; height: 29px"> 19 <a href="Votes.aspx" style="background-color:Gray">投票</a></td> 20 <td style="width: 153px; height: 29px"> 21 <a href="ShowVotes.aspx">查看投票</a></td> 22 <td style="width: 170px; height: 29px"> 23 <a href="ShowVotesByPictures.aspx">以图片形式察看</a></td> 24 </tr> 25 <tr> 26 <td style="width: 70px; height: 29px"> 27 </td> 28 <td style="width: 147px; height: 29px"> 29 <a href="TopicManage.aspx">投票主题管理(Topic)</a></td> 30 <td style="width: 153px; height: 29px"> 31 <a href="SubjectManage.aspx">投票项管理(Subject)</a></td> 32 <td style="width: 170px; height: 29px"> 33 <a href="ItemManage.aspx">投票内容管理(Item)</a></td> 34 <td style="height: 29px"> 35 </td> 36 </tr> 37 </table> 38 <table style="width: 772px; height: 98px"> 39 <tr> 40 <td style="width: 32px; height: 4px"> 41 </td> 42 <td style="width: 721px; height: 4px"> 43 </td> 44 <td style="height: 4px"> 45 </td> 46 </tr> 47 <tr> 48 <td style="width: 32px; height: 71px"> 49 </td> 50 <td style="width: 721px; height: 71px"> 51 <asp:GridView ID="TopicView" runat="server" Height="99px" Width="716px" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" 52 OnRowDataBound="VoteView_RowDataBound" OnRowCommand="VoteView_RowCommand" OnRowDeleting="VoteView_RowDeleting" OnRowUpdating="VoteView_RowUpdating"> 53 <Columns> 54 <asp:TemplateField HeaderText="主题ID(t_id)"> 55 <ItemTemplate> 56 <%#DataBinder.Eval(Container.DataItem,"t_id") %> 57 </ItemTemplate> 58 </asp:TemplateField> 59 <asp:TemplateField HeaderText="主题名称(t_name)"> 60 <ItemTemplate> 61 <%#DataBinder.Eval(Container.DataItem,"t_name") %> 62 </ItemTemplate> 63 </asp:TemplateField> 64 <asp:TemplateField HeaderText="主题内容(t_content)"> 65 <ItemTemplate> 66 <%#DataBinder.Eval(Container.DataItem,"t_content") %> 67 </ItemTemplate> 68 </asp:TemplateField> 69 <asp:TemplateField HeaderText="当前主题(t_IsCurrent)"> 70 <ItemTemplate> 71 <asp:CheckBox runat="server" ID="checkbox" Checked='<%#DataBinder.Eval(Container.DataItem,"t_IsCurrent") %>' Enabled="false"/> 72 </ItemTemplate> 73 </asp:TemplateField> 74 <asp:TemplateField HeaderText="设置当前主题(t_IsCurrent)"> 75 <ItemTemplate> 76 <asp:Button id="updatecurrentbtn" runat="server" Text='<%#(bool)DataBinder.Eval(Container.DataItem,"t_IsCurrent")==true?"取消当前主题":"设置为当前主题" %>' CommandName="iscurrent" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"t_id") %>'></asp:Button> 77 </ItemTemplate> 78 </asp:TemplateField> 79 <asp:TemplateField HeaderText="用户操作"> 80 <ItemTemplate> 81 <asp:ImageButton id="imagebtn" runat="server" ImageUrl="delete.gif" CommandName="delete" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"t_id") %>'></asp:ImageButton> 82 83 <asp:Button id="updatebtn" runat="server" Text="更新" CommandName="update" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"t_id") %>'></asp:Button> 84 </ItemTemplate> 85 </asp:TemplateField> 86 </Columns> 87 <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> 88 <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> 89 <EditRowStyle BackColor="#999999" /> 90 <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> 91 <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> 92 <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> 93 <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> 94 </asp:GridView> 95 </td> 96 <td style="height: 71px"> 97 </td> 98 </tr> 99 <tr> 100 <td style="width: 32px; height: 21px;"> 101 </td> 102 <td style="width: 721px; height: 21px;"> 103 </td> 104 <td style="height: 21px"> 105 </td> 106 </tr> 107 </table> 108 109 </div> 110 <asp:Label ID="AddUpdate" runat="server" Height="16px" Text="新增投票主题" Width="99px"></asp:Label> 111 <br /> 112 <asp:TextBox ID="name" runat="server" Height="27px" Width="330px"></asp:TextBox><br /> 113 <asp:TextBox ID="content" runat="server" Height="117px" Width="329px"></asp:TextBox><br /> 114 <asp:Button ID="AddUpdatebtn" runat="server" Text="新增主题" CommandName="add" OnClick="AddUpdatebtn_Click" /> 115 </form> 116</body> 117</html> 118
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:简单多功能投票/调查系统源码

- 某驾校系统全站源码

- 锋.NET简洁留言板

- 星幻短信群发平台Web源码

- 千狐网站管理系统1.01

- 图表控件openflashchart的De..

- 18个WebChart曲线/柱状图C#源码

- 友情链接管理系统源码

- 达达ASP.NET简单新闻发布源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号