Search This Blog

Friday, July 30, 2010

Code to format string in datalist column


   1:<asp:Label ID="lblcreateddateval" runat="server" Text='<%#Convert.ToDateTime(Eval("CreatedDate")).ToShortDateString() %>'>
</asp:Label> 

No comments:

Post a Comment