DateTime Format in gridview colum- DateTime Format in gridview

DateTime Format 

<asp:GridView id="grdUserDetails" runat="server">
    <asp:BoundColumn DataField="UserId" HeaderText="UserId"/>
    <asp:BoundColumn DataField="CurrentDate" HeaderText="CurrentDate"    DataFormatString="{0:dd-MMM-yyyy}" />

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
Post a Comment Powered by Blogger.
ASK Questions