Protected Sub GridView1_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) _
        Handles GridView1.DataBound
    Dim gv As GridView = CType(sender, GridView)
    Dim c As TableCell
    For Each c In gv.HeaderRow.Cells
        c.Text = System.Web.HttpUtility.HtmlDecode(c.Text)
    Next
End Sub

posted on 2009-10-15 16:16  qinghao  阅读(1452)  评论(0编辑  收藏  举报

Copyright © 2009 qinghao Powered by: 博客园