zoukankan      html  css  js  c++  java
  • 三文利用

    View Code
    <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="Black" GridLines="None"
    BorderWidth="1px" BackColor="#73B857" AutoGenerateColumns="False" Width="550px"
    OnRowCommand="GridView1_RowCommand">
    <RowStyle BackColor="#c3ffab" />
    <Columns>
    <asp:BoundField DataField="RWTitle" HeaderText="任务名称">
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    </asp:BoundField>
    <asp:TemplateField HeaderText="任务状态">
    <ItemTemplate>
    <%# JC(Eval("RWState").ToString()) %>
    </ItemTemplate>
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    </asp:TemplateField>
    <asp:BoundField DataField="FPData" HeaderText="任务布时间">
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    </asp:BoundField>
    <asp:TemplateField HeaderText="操作">
    <ItemTemplate>
    <asp:ImageButton ID="ImageButton1" runat="server" OnClientClick="return confirm('确定接受此任务吗?')"
    CommandName="js" CommandArgument='<%# Eval("RWFPID") %>' Visible='<%# Convert.ToInt32(Eval("RWState"))==0?true:false %>'
    ImageUrl="~/images/jiesou.gif" />
    &nbsp;<asp:ImageButton ID="ImageButton2" runat="server" OnClientClick="return confirm('确定拒绝此任务吗?')"
    CommandName="jj" CommandArgument='<%# Eval("RWFPID") %>' Visible='<%# Convert.ToInt32(Eval("RWState"))==0?true:false %>'
    ImageUrl="~/images/jujue.gif" />
    &nbsp;<asp:ImageButton ID="ImageButton3" runat="server" OnClientClick="return confirm('确定完成此任务吗?')"
    CommandName="wc" CommandArgument='<%# Eval("RWFPID") %>' Visible='<%# Convert.ToInt32(Eval("RWState"))==2?true:false %>'
    ImageUrl="~/images/wancheng.gif" />
    &nbsp;<asp:ImageButton ID="ImageButton4" runat="server" OnClientClick="return confirm('确定放弃此任务吗?')"
    Visible='<%# Convert.ToInt32(Eval("RWState"))==2?true:false %>' CommandName="fq"
    CommandArgument='<%# Eval("RWFPID") %>' ImageUrl="~/images/fangqi.gif" />
    <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="不要气馁!再接再厉!" Visible='<%# Convert.ToInt32(Eval("RWState"))==3?true:false %>'></asp:Label>
    <asp:Label ID="Label2" runat="server" ForeColor="Blue" Text="表现不错,请继续努力!" Visible='<%# Convert.ToInt32(Eval("RWState"))==4?true:false %>'></asp:Label>
    </ItemTemplate>
    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
    </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#fff000" Font-Bold="True" ForeColor="#000" />
    <HeaderStyle BackColor="#73B857" Font-Bold="True" ForeColor="White" />
    <EditRowStyle BackColor="#2461BF" />
    <AlternatingRowStyle BackColor="White" />
    </asp:GridView>

  • 相关阅读:
    Permutation Test 置换检验
    计算机会议排名等级
    国际顶级计算机会议
    机器学习中的范数规则化 L0、L1与L2范数 核范数与规则项参数选择
    岭回归(Ridge Regression)
    popupWindow使用timePicker时点击出现闪屏问题的解决办法
    Java:单例模式的七种写法
    JSONObject遍历获取键值方法合并两个JSONObject
    解决android studio上“com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65935”问题
    解决同时共用MOB公司的shareSDK和SMSSDK的冲突问题
  • 原文地址:https://www.cnblogs.com/XuYiHe/p/2185778.html
Copyright © 2011-2022 走看看