About ItemTemplate problem

  • Thread starter Thread starter Alan Ho
  • Start date Start date
A

Alan Ho

I would like to know how to change the "Item" to other name...

e.g. in HTML Code
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Item") %>
</ItemTemplate>

I wanna to change the "Item" to "Name" , after i press asp:Button in
webfrom.....

how can i do that?

Thanks
 
Alan,
Call a function from your ItemTemplate that determines what field to
display.

Marcie
 
Back
Top