468,257 Members | 1,449 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Append 0

RN1
<asp:DataGrid.........>
<asp:TemplateColumn HeaderText="DURATION">
<ItemTemplate>
<asp:Label ID="lblDuration" runat="server"><%#
Container.DataItem("Duration") %></asp:Label>
</ItemTemplate>
</asp:TemplateColumn>

The values I am getting from the database for this Label are, say,
109:15, 34:50. The problem is if the value is, say, 18:0, I want to
display it as 18:00 instead of 18:0.

How do I do it?

Thanks,

Ron
Oct 20 '08 #1
0 681

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

25 posts views Thread by Yves Glodt | last post: by
1 post views Thread by David Barger | last post: by
5 posts views Thread by Michael C via AccessMonster.com | last post: by
reply views Thread by audleman | last post: by
26 posts views Thread by John Salerno | last post: by
2 posts views Thread by jeremito | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.