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


当前文件路径:Votes/SubjectManage.aspx 文件类型
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SubjectManage.aspx.cs" Inherits="SubjectManage" %> 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 id="Head1" runat="server"> 7 <title>无标题页</title> 8</head> 9<body> 10 <form id="form1" runat="server"> 11 <div> 12 <table style="width: 617px; height: 48px"> 13 <tr> 14 <td style="width: 70px; height: 29px"> 15 </td> 16 <td style="width: 147px; height: 29px"> 17 <a href="Votes.aspx" style="background-color:Gray">投票</a></td> 18 <td style="width: 153px; height: 29px"> 19 <a href="ShowVotes.aspx">查看投票</a></td> 20 <td style="width: 170px; height: 29px"> 21 <a href="ShowVotesByPictures.aspx">以图片形式察看</a></td> 22 </tr> 23 <tr> 24 <td style="width: 70px; height: 29px"> 25 </td> 26 <td style="width: 147px; height: 29px"> 27 <a href="TopicManage.aspx">投票主题管理(Topic)</a></td> 28 <td style="width: 153px; height: 29px"> 29 <a href="SubjectManage.aspx">投票项管理(Subject)</a></td> 30 <td style="width: 170px; height: 29px"> 31 <a href="ItemManage.aspx">投票内容管理(Item)</a></td> 32 <td style="height: 29px"> 33 </td> 34 </tr> 35 </table><br /> 36 &nbsp;&nbsp;&nbsp;<asp:DropDownList ID="TopicList" runat="server" OnSelectedIndexChanged="TopicList_SelectedIndexChanged" AutoPostBack="true"> 37 </asp:DropDownList> 38 <table style="width: 735px; height: 113px"> 39 <tr> 40 <td style="width: 10px; height: 5px"> 41 </td> 42 <td style="width: 594px; height: 5px"> 43 </td> 44 <td style="height: 5px"> 45 </td> 46 </tr> 47 <tr> 48 <td style="width: 10px; height: 73px"> 49 </td> 50 <td style="width: 594px; height: 73px"> 51 <asp:GridView ID="SubjectView" runat="server" Height="47px" Width="704px" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="false" 52 OnRowDataBound="SubjectView_RowDataBound" OnRowCommand="SubjectView_RowCommand" OnRowDeleting="SubjectView_RowDeleting" OnRowUpdating="SubjectView_RowUpdating" DataKeyNames="s_id"> 53 <Columns> 54 <asp:TemplateField HeaderText="投票项目(s_id)"> 55 <ItemTemplate> 56 <%#DataBinder.Eval(Container.DataItem,"s_id") %> 57 </ItemTemplate> 58 </asp:TemplateField> 59 <asp:TemplateField HeaderText="投票项目名称(s_name)"> 60 <ItemTemplate> 61 <%#DataBinder.Eval(Container.DataItem,"s_name") %> 62 </ItemTemplate> 63 </asp:TemplateField> 64 <asp:TemplateField HeaderText="投票项目模式(s_mode)"> 65 <ItemTemplate> 66 <asp:RadioButton runat="server" ID="radiobutton" Checked='<%#DataBinder.Eval(Container.DataItem,"s_mode") %>' Text='<%#(bool)DataBinder.Eval(Container.DataItem,"s_mode")==true?"多选":"单选" %>' Enabled="false"/> 67 </ItemTemplate> 68 </asp:TemplateField> 69 70 <asp:CommandField HeaderText="选择当前行" ShowSelectButton="True" SelectText="选择该行"/> 71 <asp:TemplateField HeaderText="用户操作"> 72 <ItemTemplate> 73 <asp:ImageButton runat="server" ID="imagebtn" CommandName="delete" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"s_id") %>' ImageUrl="~/delete.gif" AlternateText="删除该用户"/> 74 <asp:Button runat="server" ID="btn" CommandName="update" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"s_id") %>' Text="更新"/> 75 </ItemTemplate> 76 </asp:TemplateField> 77 </Columns> 78 <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> 79 <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> 80 <EditRowStyle BackColor="#999999" /> 81 <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> 82 <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> 83 <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> 84 <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> 85 </asp:GridView> 86 </td> 87 <td style="height: 73px"> 88 </td> 89 </tr> 90 <tr> 91 <td style="width: 10px"> 92 </td> 93 <td style="width: 594px" align="right"> 94 <asp:Button ID="ChangeMode" runat="server" Text="更新模式(单、双)" OnClick="ChangeMode_Click" /></td> 95 <td> 96 </td> 97 </tr> 98 </table> 99 <asp:Label ID="lbl" runat="server" Height="22px" Text="新增投票项目" Width="154px"></asp:Label> 100 <br /> 101 <asp:TextBox ID="name" runat="server" Width="382px" Height="26px"></asp:TextBox><br /> 102 <br /> 103 <asp:Button ID="AddUpdateBtn" runat="server" Text="新增投票" CommandName="add" OnClick="AddUpdateBtn_Click"/> 104 </div> 105 </form> 106</body> 107</html> 108
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:简单多功能投票/调查系统源码

- DocFlow文档管理门户源码

- 简单数据查询与报表打印系统源码

- Asp.net2.0自动排班系统源码

- 阿晶简单实用留言板V1.0

- 博易Blog程序1.5源码

- 酒店管理系统(ExtJs)源码

- X2Blog4.0及X2WebControls源码

- DRLerNews新闻系统1.0源码

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