D
Dexter
hello all,
i need to know, programatically, if a datagrid column is a template column,
at itemdatabound event.
somebody have a idea?
Thanks.
Dexter
____________________________________________________________________________
If (e.Item.ItemType = ListItemType.Header) Then
Dim quantidade = e.Item.Cells.Count
Dim a As Integer
For a = 0 To quantidade - 1
'Here i need to know if is a templatecolumn
Dim s As String = e.Item.Cells(a).Text
If s <> "" And s <> " " Then
e.Item.Cells(a).Text =
pergunta_nome_coluna(viewstate("Tabela"), s)
End If
Next
End If
____________________________________________________________________________
i need to know, programatically, if a datagrid column is a template column,
at itemdatabound event.
somebody have a idea?
Thanks.
Dexter
____________________________________________________________________________
If (e.Item.ItemType = ListItemType.Header) Then
Dim quantidade = e.Item.Cells.Count
Dim a As Integer
For a = 0 To quantidade - 1
'Here i need to know if is a templatecolumn
Dim s As String = e.Item.Cells(a).Text
If s <> "" And s <> " " Then
e.Item.Cells(a).Text =
pergunta_nome_coluna(viewstate("Tabela"), s)
End If
Next
End If
____________________________________________________________________________