zoukankan      html  css  js  c++  java
  • GridView 模板列 参数

        <asp:TemplateField HeaderText="性别">
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container.DataItem, "性别")%>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:DropDownList ID="性别" runat="server" Width ="40px"
                                    Text='<%#DataBinder.Eval(Container.DataItem,"性别") %>'>
                                    <asp:ListItem Value="男">男</asp:ListItem>
                                    <asp:ListItem Value="女">女</asp:ListItem>
                                    <asp:ListItem Value=""></asp:ListItem>
                                </asp:DropDownList>
                            </EditItemTemplate>
                            <ItemStyle Width="20px" />                    
                        </asp:TemplateField>

  • 相关阅读:
    mysql5大引擎之间的区别和优劣之分
    关于集合
    泛型
    集合2
    easyui 入门讲解
    <input>和<textarea>
    php中echo(),print(),print_r(),var_dump()间的区别
    PHP图形操作之生成图像验证码
    JZ046圆圈中最后剩下的数
    Python3连接MySQL
  • 原文地址:https://www.cnblogs.com/loge/p/6927198.html
Copyright © 2011-2022 走看看