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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top