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


当前文件路径:Votes/ItemManage.aspx 文件类型
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ItemManage.aspx.cs" Inherits="ItemManage" %> 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-size:12px;"> 10 <form id="form1" runat="server"> 11 <!--download from 51aspx.com(51aspx.com)--> 12 13 <table style="width: 617px; height: 48px"> 14 <tr> 15 <td style="width: 70px; height: 29px"> 16 </td> 17 <td style="width: 147px; height: 29px"> 18 <a href="Votes.aspx" style="background-color: gray">投票</a></td> 19 <td style="width: 153px; height: 29px"> 20 <a href="ShowVotes.aspx">查看投票</a></td> 21 <td style="width: 170px; height: 29px"> 22 <a href="ShowVotesByPictures.aspx">以图片形式察看</a></td> 23 </tr> 24 <tr> 25 <td style="width: 70px; height: 29px"> 26 </td> 27 <td style="width: 147px; height: 29px"> 28 <a href="TopicManage.aspx">投票主题管理(Topic)</a></td> 29 <td style="width: 153px; height: 29px"> 30 <a href="SubjectManage.aspx">投票项管理(Subject)</a></td> 31 <td style="width: 170px; height: 29px"> 32 <a href="ItemManage.aspx">投票内容管理(Item)</a></td> 33 <td style="height: 29px"> 34 </td> 35 </tr> 36 </table> 37 <asp:DropDownList ID="TopicList" runat="server" OnSelectedIndexChanged="TopicList_SelectedIndexChanged" AutoPostBack="true"> 38 </asp:DropDownList><br /> 39 <br /> 40 <asp:DropDownList ID="SubjectList" runat="server" OnSelectedIndexChanged="SubjectList_SelectedIndexChanged" AutoPostBack="true"> 41 </asp:DropDownList><br /> 42 <table style="width: 609px; height: 78px"> 43 <tr> 44 <td style="width: 8px; height: 3px"> 45 </td> 46 <td style="width: 582px; height: 3px"> 47 </td> 48 <td style="height: 3px"> 49 </td> 50 </tr> 51 <tr> 52 <td style="width: 8px; height: 35px"> 53 </td> 54 <td style="width: 582px; height: 35px"> 55 <asp:GridView ID="ItemView" runat="server" Height="116px" Width="622px" AutoGenerateColumns="False" OnRowDataBound="ItemView_RowDataBound" OnRowCommand="ItemView_RowCommand" OnRowDeleting="ItemView_RowDeleting" OnRowUpdating="ItemView_RowUpdating" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical"> 56 <Columns> 57 <asp:TemplateField HeaderText="投票内容名称"> 58 <ItemTemplate> 59 <%#DataBinder.Eval(Container.DataItem,"i_name") %> 60 </ItemTemplate> 61 </asp:TemplateField> 62 <asp:TemplateField HeaderText="投票票数"> 63 <ItemTemplate> 64 <%#DataBinder.Eval(Container.DataItem,"i_count") %> 65 </ItemTemplate> 66 </asp:TemplateField> 67 <asp:TemplateField HeaderText="用户操作"> 68 <ItemTemplate> 69 <asp:ImageButton runat="server" ID="imageButton" CommandName="delete" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"i_id") %>' ImageUrl="~/delete.gif" AlternateText="删除"/> 70 <asp:Button runat="server" ID="button" CommandName="update" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"i_id") %>' Text="更新"/> 71 </ItemTemplate> 72 </asp:TemplateField> 73 </Columns> 74 75 76 <FooterStyle BackColor="#CCCC99" /> 77 <RowStyle BackColor="#F7F7DE" /> 78 <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" /> 79 <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" /> 80 <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" /> 81 <AlternatingRowStyle BackColor="White" /> 82 </asp:GridView> 83 </td> 84 <td style="height: 35px"> 85 </td> 86 </tr> 87 <tr> 88 <td style="width: 8px"> 89 </td> 90 <td style="width: 582px"> 91 </td> 92 <td> 93 </td> 94 </tr> 95 </table> 96 <asp:Label ID="title" runat="server" Height="25px" Text="增加投票内容" Width="280px"></asp:Label><br /> 97 <asp:TextBox ID="name" runat="server" Height="31px" Width="272px"></asp:TextBox><br /> 98 <asp:Button ID="AddUpdatebtn" runat="server" Text="增加投票" CommandName="add" OnClick="AddUpdatebtn_Click" /> 99 </form> 100</body> 101</html> 102
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:简单多功能投票/调查系统源码

- 小爱学习(asp.Net)新闻系统 V0.1

- hww企业网站实用源码 V2.0

- ExtJs单用户Blog系统后台源码

- GridView嵌套应用实例

- Anthem.NET中FileUpload控件..

- 网上教学系统全站程序源码

- SCO在线售卡系统(.Net开源版..

- 山建大校内购物网V1.1源码

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