Dear all,

There are three columns in my dataview, "code", "amount_1" and "amount_2". Now I am using a Repeater to display the data in the dataview and what I need to do is when the paramters "ind" = 0, display "amount_1", otherwise display "amount_2", and my code is:

......
<ItemTemplate>
<%
If Request.QueryString("ind") = "0" then
Response.Write(DataBinder.Eval(Container.DataItem,"amount_1")
Else
Response.Write(DataBinder.Eval(Container.DataItem,"amount_2")
End If
%>
</ItemTemplate>
........


But I got an error "BC30451 'Container' not declare....", anyone know whats wrong in my code since I'm new in ASP .NET

Regards,
Calvin