Protected Sub gdv_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) Handles gdv.RowDataBound
        If e.Row.RowType = DataControlRowType.DataRow Then
            If CType(e.Row.FindControl("lblVerifiedBy"), Label).Text.Trim() <> "" Then
                e.Row.Cells(0).Text = ""
            End If
        End If
    End Sub

GridView根据某行的内容显示或隐藏Edit按钮

GridView根据某行的内容显示或隐藏Edit按钮

相关文章:

  • 2022-01-04
  • 2021-07-23
  • 2022-12-23
  • 2021-10-09
  • 2021-11-23
  • 2022-12-23
  • 2021-11-13
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2021-09-11
  • 2021-11-23
  • 2021-11-05
  • 2022-12-23
相关资源
相似解决方案