468,765 Members | 1,726 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

format datalist "cells"

I have a datalist and I need to change the text in the header section of the
datalist
The data is coming out such as 1 2 3 4 5 6 and if it equals 5 or 6 i need it
to say OT instead of 5 or 6. How can i do that within a datalist?

I've tried
If e.Item.DataItem("period") = "5" Then
e.Item.DataItem = "OT"
End If

and it didn't work, any other ideas or suggestions
Nov 18 '05 #1
0 848

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Jim in Arizona | last post: by
7 posts views Thread by petr.jakes.tpc | last post: by
17 posts views Thread by David C. Ullrich | last post: by
36 posts views Thread by Roedy Green | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.