DataList control

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

I don't understand how to test values inside a datalist control.

Example, where you're writing the value
<%# DataBinder.Eval(Container.DataItem, "AdminLevel") %>

Ideally, I'd like to alter output based on value this, i.e.
AdminLevel = 0 show this
AdminLevel = 1 show this

Does anyone have any ideas about how this can be acheived?

Thanks for your time,

Paul
 
Back
Top