i'm new to asp.net and everything is still shaky for me, how would i display "out" if <%# DataBinder.Eval(Container.DataItem, "Out") %> is = to 1? and "in" if it's 0?<BR><BR>All i can do now is display the value......any help please?A couple of points to keep in mind.<BR>Try not to use DataBinder.Eval unless you absolutely have to because it's actually is slower to run as it does late binding. Instead just refer to Container.DataItem("Out") directly.<BR><BR>To answer your question, you could do it a couple of ways.<BR>You could do an inline IIf() or you could call a function that runs on your code behind page to do the same thing.<BR>For example to use an inline IIf() function do this.<BR><%# IIf(Container.DataItem("Out") = 1, "it's one", "it's not one") %><BR><BR>or the method that I like to use is to call a function instead<BR><%# Foo(Container.DataItem("Out")) %><BR><BR>the Foo function would look like this on the code behind page<BR>public function Foo(ByVal someVal as byte) as string<BR> if someVal = 1 then <BR> Foo = "it's one"<BR> else<BR> Foo = "it's something else"<BR> end if<BR>end function<%# iif(DataBinder.Eval(Container.DataItem, "Out") = "1" ,"out" , "in" ) %>