| Author: Sigen Oline Sørensen 01 Apr 2005 | Member Level: Bronze Points : 0 |
Hey, nice trick ... I'm just starting up on .Net and I looked for this feature for some time - I could not get it to work, so I messed around with it and came up with this instead :
It seems easier to me, especially since I have to make a TemplateColumn no matter wich version I use !
Just my 2 cents,
Signe
|
| Author: Sigen Oline Sørensen 01 Apr 2005 | Member Level: Bronze Points : 0 |
I did not know that html would not be rendered ...heres is the code...
[Columns] [asp:TemplateColumn HeaderText="#"] [ItemTemplate] [asp:Label Text='[%# Container.DataSetIndex + 1 %]' runat="server" /] [/ItemTemplate] [/asp:TemplateColumn]
|