Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: datagrid


Message #1 by "eyetalion" <eyetalion1@h...> on Mon, 27 Jan 2003 20:21:22
I'm trying to test a value of a field in my datagrid. If it's a certain 
value I want to append data to another field in my grid. Heres the code 
I'm using, but am getting an error: Expression Expected. Am I doing this 
correctly?

<ItemTemplate>
									<%
# IIf(Container.DataItem ("Bid_Id") = "44444", Container.DataItem 
("Bid_Schedule_Desc"), 
								
	"<b>DELAYED</b>" & Container.DataItem ("Bid_Schedule_Desc")) %>
									
	</ItemTemplate>

  Return to Index