【问题标题】:Don't display item in templatefield in filtering不要在过滤的模板字段中显示项目
【发布时间】:2012-03-28 07:51:33
【问题描述】:

我有一个带有 templatefield 的 gridview 。我在页面加载中填充了gridview。

问题是过滤 gridview 时,templatefield 中的项目不显示。

【问题讨论】:

    标签: templatefield


    【解决方案1】:

    假设filtering gridview 表示搜索和显示结果。GridViewSearch 控件是一个 ASP.NET 用户控件,它提供search/filtering 功能,然后可用于过滤绑定到 GridView 控件的DataTable/DataSource。你看例子在这里。
    http://www.codeproject.com/Articles/16781/GridView-Search-Control

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-17
      • 2014-11-30
      • 2021-02-08
      • 1970-01-01
      • 2015-10-24
      • 1970-01-01
      • 2023-03-16
      • 2012-11-13
      相关资源
      最近更新 更多