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...

You Might Also Like
Post a Comment Powered by Blogger.