View Single Post
  #4 (permalink)  
Old December 1st, 2005, 11:19 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Exactly the same as you do now for the ItemTemplate. Remove all the stuff from the EditItemTemplate and instead add this:

<asp:Label ID="Label1" runat="server" Text='<%# Bind("Color") %>'></asp:Label>

Does it display the correct color?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote