Friday, March 19, 2010

Add thin horizontal line in a row of table

< tr >< td style="border-top:solid 1px #a0a0a0" >< / td >< / tr >

Thursday, March 18, 2010

< a > tag in ItemTemplate

target="_blank" will open the link in new window.

< a target = " _blank " hre f= ' < % # "Page.aspx?QueryString="+ Cstr(Eval("QValue"))% > ' > < % # Eval("ValueToShow")% >< /a >

Friday, March 12, 2010

Format date and money value in asp.net source page

<%# CDate(Eval("Date")).ToString("dd/MM/yyyy") %>

<%# CDbl(Eval("Money")).ToString("0.00") %>

Format("{0:0.00}",Fields.FieldName)

Thursday, March 11, 2010

IIF In Aspx Page

<%# IIf(Convert.ToString(Eval("Field")).Length > 0, "Yes", Eval("Field"))%>

Thursday, March 4, 2010

The additional offender groans.

The additional offender groans.