Hello, i guess that you have to bind the header text in the ItemDataBound-Event like in the following sample:
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemDataBound
If e.Item.ItemType = ListItemType.Header Then
e.Item.Cells(0).Text = "Your Header for Column 1"
e.Item.Cells(1).Text = "Your Header for Column 2"
e.Item.Cells(2).Text = "Your Header for Column 3"
End If
End Sub
Here you can use static text as well as data binding... HTH,
yuanchoong
Member
70 Points
14 Posts
Template Column
Aug 07, 2003 09:00 AM|LINK
KBrocksi_SEC
Contributor
3382 Points
627 Posts
Re: Template Column
Aug 07, 2003 11:04 AM|LINK