Private Sub DataGrid1_ItemDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs)
Dim bz = Trim(Session("bz"))
'复杂表头的生成
Dim tp As New ListItemType
tp = e.Item.ItemType
If tp = ListItemType.Header Then
e.Item.Cells(0).RowSpan = 2
e.Item.Cells(1).RowSpan = 2
e.Item.Cells(2).RowSpan = 2
e.Item.Cells(3).RowSpan = 2
e.Item.Cells(6).RowSpan = 2
这个事件怎么不执行?
Private Sub DataGrid1_ItemDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles datagrid1.itembound