<%#Eval("Val").ToString().Split('.')[0]%>
DataFormatString="{0 : D}" add this attribute on that column
in repeater <div> < %#GetFormatvalue(Eval("Val")) %> </div> public string GetFormatvalue( object val) { int i=Convert.ToInt32(val); return convert.ToString(i); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)