首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏cs

    ASP.NET 数据库访问

    DataField="name" HeaderText="name" SortExpression="name" /> <asp:BoundField DataField ="id" HeaderText="id" ReadOnly="True" SortExpression="id" /> <asp:BoundField DataField DataField="name" HeaderText="name" SortExpression="name" /> <asp:BoundField DataField ="id" HeaderText="id" ReadOnly="True" SortExpression="id" /> <asp:BoundField DataField DataField="name" HeaderText="name" SortExpression="name" /> <asp:BoundField DataField

    6.6K60发布于 2018-04-27
  • 来自专栏c#开发者

    Pass Multiple Values from a GridView to Another Page using ASP.NET

    DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" /> <asp:BoundField DataField ="ContactName" HeaderText="ContactName" SortExpression="ContactName" /> <asp:BoundField DataField="Address " HeaderText="Address" SortExpression="Address" /> <asp:BoundField DataField="City" HeaderText="City CID={0}&CName={1}&ContactName={2}&Addr={3}&City={4}" Text="Pass Multiple Values" /> <asp:BoundField " HeaderText="Address" SortExpression="Address" /> <asp:BoundField DataField="City" HeaderText="City

    1.5K50发布于 2018-04-12
  • 来自专栏技术小牛

    ASP.NET中通过GRIDVIEW"选择"的按钮将数据显示到TEXTBOX中

      DataField="ckdh" HeaderText="出库单号" SortExpression="ckdh" />                 <asp:BoundField  DataField ="ckkb" HeaderText="出库库别" SortExpression="ckkb" />                 <asp:BoundField  DataField="ypqx" HeaderText="药品去向" SortExpression="ypqx" />                 <asp:BoundField  DataField="ypbh" HeaderText ="药品编号" SortExpression="ypbh" />                 <asp:BoundField  DataField="ypmc" HeaderText="药品名称" <asp:BoundField  DataField="sj" HeaderText="出库价格" SortExpression="sj" />                 <asp:BoundField

    4.7K10发布于 2021-03-15
  • 来自专栏CSDNToQQCode

    ASP.NET WEB项目中GridView与Repeater数据绑定控件的用法

    <asp:GridView runat="server" ID="gridView" AutoGenerateColumns="false"> <Columns> <asp:BoundField DataField="id" HeaderText="编号"/> <asp:BoundField DataField="userName" HeaderText="昵称"/> <asp:BoundField DataField="sex" HeaderText="性别"/> <asp:BoundField DataField="age" HeaderText= "年龄"/> <asp:BoundField DataField="introduce" HeaderText="简介"/> </Columns> </asp:GridView>

    1.6K20编辑于 2023-03-07
  • 来自专栏葡萄城控件技术团队

    Wijmo 更优美的jQuery UI部件集:在对Wijmo GridView进行排序或者过滤时保留选择

    > <wijmo:C1BoundField DataField="CategoryName" HeaderText="CategoryName" SortExpression="CategoryName "> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="Description" HeaderText="Description" SortExpression ="Description"> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="Picture" HeaderText="Picture" SortExpression="Picture"> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="UserName" HeaderText ="UserName" SortExpression="UserName"> </wijmo:C1BoundField> </Columns> </wijmo:C1GridView> <asp

    1.3K90发布于 2018-01-10
  • 来自专栏葡萄城控件技术团队

    Wijmo 更优美的jQuery UI部件集:客户端更改C1GridView数据源

    DataField="CustomerID" HeaderText="CustomerID" SortExpression="CustomerID"> </wijmo:C1BoundField> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="ContactName" HeaderText="Contact Name" SortExpression ="ContactName"> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="City" HeaderText="City" SortExpression ="City"> </wijmo:C1BoundField> <wijmo:C1BoundField DataField="Country" HeaderText="Country" SortExpression ="Country"> </wijmo:C1BoundField> </Columns> </wijmo:C1GridView> 2.下面,我们定义 Oledb 数据库连接字符串。

    3.4K90发布于 2018-01-10
  • 来自专栏c#Winform自定义控件系列

    ASP.NET-FineUI开发实践-13(一)

    /f:BoundField> <f:BoundField ColumnID="topID" DataField="topID" Width="50px" HeaderText= "topID"> </f:BoundField> <f:BoundField DataField="levelcode" Width="100px" HeaderText ="层级编号"> </f:BoundField> <f:BoundField ColumnID="levelnub" DataField="levelnub " Width="100px" HeaderText="层级数"> </f:BoundField> <f:BoundField DataField="subitem " Width="100px" HeaderText="是否为子菜单"> </f:BoundField> <f:BoundField DataField=

    84430发布于 2019-09-11
  • 来自专栏守望轩

    让GridView中CheckBox列支持FireFox

    nbsp;<input id=”CheckAll” type=”checkbox” onclick=”selectAll(this);” />全选 </HeaderTemplate> <asp:BoundField DataField=”id” HeaderText=”id” InsertVisible=”False” ReadOnly=”True” SortExpression=”id” /> <asp:BoundField DataField=”name” HeaderText=”name” SortExpression=”name” /> <asp:BoundField DataField=”sex” HeaderText =”sex” SortExpression=”sex” /> <asp:BoundField DataField=”deptid” HeaderText=”deptid” SortExpression

    1.4K80发布于 2018-01-15
  • 来自专栏c#开发者

    Add a FileUpload control to your GridView [转]

    Columns>              <asp:CommandField ShowEditButton="True"></asp:CommandField>              <asp:BoundField CustomerID" HeaderText="CustomerID" InsertVisible="False" ReadOnly="True" SortExpression="CustomerID"></asp:BoundField >              <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name"></asp:BoundField

    1.6K60发布于 2018-04-12
  • 来自专栏全栈程序员必看

    gridview布局_grid css

    <asp:BoundField DataField="CompanyName" HeaderText="Company Name" /> 11. <asp:BoundField DataField="ContactName" HeaderText="Contact Name" /> 12. <asp:BoundField DataField="ContactTitle" HeaderText="Contact Title" /> 13. <asp:BoundField DataField="Address" HeaderText="Address" /> 14. <asp:BoundField DataField="City" HeaderText="City" /> 15.

    45910编辑于 2022-11-09
  • 来自专栏python3

    Django学习之八:forms组件【对

    所以要获取boundfield对象有两种途径,通过for迭代,或者通过字典key访问。以下的field名字没特殊说明,都是boundfield对象。至于获取boundfield对象,刚刚也提到了。 打印boundfield 输出一个HTML boundfield.label_suffix 设置当前label值后面跟什么字符串,默认是冒号‘:’ boundfield.value() 返回当前字段的值 boundfield.auto_id 设置field自己的id形式。 boundfield.data 类似boundfield.value() 方法,都是返回对应的数据。 boundfield.html_name boundfield.id_for_label 对应字段的id属性值。 用于自定义<\label>标签 boundfield.is_hidden 判定是否是隐藏字段 boundfield.label 字段的label自,默认是字段名 boundfield.name field

    3K30发布于 2020-01-20
  • 来自专栏c#Winform自定义控件系列

    FineUI开源版之TreeGrid实现

    f:BoundField> <f:BoundField ColumnID="topID" DataField="topID" Width="50px" HeaderText="topID "> </f:BoundField> <f:BoundField DataField="levelcode" Width="100px" HeaderText ="层级编号"> </f:BoundField> <f:BoundField ColumnID="levelnub" DataField="levelnub " Width="100px" HeaderText="层级数"> </f:BoundField> <f:BoundField DataField="subitem " Width="100px" HeaderText="是否为子菜单"> </f:BoundField> <f:BoundField DataField=

    1.5K10发布于 2019-09-11
  • 来自专栏远在上海

    GridView中将”0和1“显示成”是和否“

    如下图,今天用GridView显示一列smallint(其实这里也可以用布尔型)为:是和否,通常的做法是用TemplateField直接前端页面显示而非用BoundField来显示。 是":"否" %>         </ItemTemplate>   </asp:TemplateField> 因为我需要GridView的排序,所以还是用BoundField的形式,前后台结合,前台代码在 GridView中加入事件OnRowDataBound="gridView_ItemDataBound"  <asp:BoundField DataField="IsOwned" HeaderText=     <HeaderStyle HorizontalAlign="Center" Font-Bold="False" />      <ItemStyle Wrap="False" />  </asp:BoundField

    1.3K30发布于 2019-02-26
  • 来自专栏全栈程序员必看

    asp.net中的Gridview控件添加序号列

    GridView ID="givQueryRequest" runat="server" OnRowDataBound="givQueryRequest_RowDataBound"> <Columns> <asp:BoundField <ItemStyle HorizontalAlign="Center" /> <HeaderStyle HorizontalAlign="Center" Width="30px" /> </asp:BoundField

    2.9K10编辑于 2022-08-09
  • 来自专栏Java架构师必看

    ASP.NET 2.0中GRIDVIEW排序

    AutoGenerateColumns="False" OnRowCreated="GridView1_RowCreated">             <Columns>                 <asp:BoundField HeaderText="customerid" DataField="CustomerID"></asp:BoundField>                 <asp:BoundField HeaderText ="companyname" DataField="CompanyName" SortExpression="CompanyName"></asp:BoundField>             </Columns

    1.4K20发布于 2021-03-22
  • 来自专栏后端技术

    Kafka protocol 版本适应的通信协议

    从构造函数中可知,传入多个Field,按顺序包装为BoundField,添加到fields。再生成按值域名查找的fieldsByName,便于查找。 每个BoundField都有变量def,记录它保存的Field;还有index变量,记录它在一个Schema中的位置。 [] fields; private final Map<String, BoundField> fieldsByName; /** * Construct the schema { public final Field def; final int index; final Schema schema; public BoundField(Field getter中get和getArray调用较多,行为都是先根据name找到BoundField,再根据其保存index从values读取出来。 ?

    1.1K20发布于 2020-06-29
  • 来自专栏全栈程序员必看

    GridView DataFormatString 的用法总结

    在GridView中的asp:BoundField使用DataFormatString必须设置属性HtmlEncode=”False”,否则不起作用。 Width=”20%” /></asp:BoundField><! GridView BoundField problem, it is caused by the new “HtmlEncode” setting of the GridView BoundField <Columns> <asp:BoundField DataField=”EmployeeId” /> <asp:BoundField DataField <Columns> <asp:BoundField DataField=”EmployeeId” /> <asp:BoundField DataField

    3.4K20编辑于 2022-07-23
  • 来自专栏熊二哥

    快速入门系列--MVC--02路由

    DataField="Gender" HeaderText="性别" /> 15 <asp:BoundField DataField="Birthday" DataFormatString="{0:dd /MM/yyyy}" HeaderText="出生日期" /> 16 <asp:BoundField DataField="Department" HeaderText="部门" /> 17 </Columns DataField="Id" HeaderText="ID" /> 22 <asp:BoundField DataField="Name" HeaderText="姓名" /> 23 <asp:BoundField DataField="Gender" HeaderText="性别" /> 24 <asp:BoundField DataField="Birthday" DataFormatString="{0:dd /MM/yyyy}" HeaderText="出生日期" /> 25 <asp:BoundField DataField="Department" HeaderText="部门" /> 26 </Fields

    1.2K90发布于 2018-01-24
  • 来自专栏c#开发者

    Using ASP.NET and jQuery to Pass Multiple Values from a GridView to Another Page

    CustomerID" DataSourceID="SqlDataSource1" AllowPaging="True" AllowSorting="True"> <Columns> <asp:BoundField DataField="CustomerID" HeaderText="CustomerID" ReadOnly="True" SortExpression="CustomerID" /> <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" /> <asp:BoundField DataField ="ContactName" HeaderText="ContactName" SortExpression="ContactName" /> <asp:BoundField DataField="Address " HeaderText="Address" SortExpression="Address" /> <asp:BoundField DataField="City" HeaderText="City

    1.2K40发布于 2018-04-12
  • 来自专栏Java架构师必看

    自定义GridView分页模板

                onpageindexchanging="GridView1_PageIndexChanging">             <columns>                 <asp:boundfield datafield="CompanyName" headertext="CompanyName" sortexpression="CompanyName" />                 <asp:boundfield datafield="ContactTitle" headertext="ContactTitle" sortexpression="ContactTitle" />                 <asp:boundfield datafield="Phone" headertext="Phone" sortexpression="Phone" />                 <asp:boundfield datafield ="Fax" headertext="Fax" sortexpression="Fax" />                 <asp:boundfield datafield="ContactName

    1.4K30发布于 2021-03-22
领券