Results 1 to 7 of 7

Thread: Display Only Date in GRDVIEW

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2008
    Posts
    474

    Display Only Date in GRDVIEW

    Im My Gridview ,date is coming along with time.My date is in format dd/mm/yyy -
    To display only the date in Grdview,I used
    Code:
    <asp:BoundField DataField="EFFECTIVE_DATE" DataFormatString="{0:dd/MM/yyyy}" 
                             HeaderText="Effective Date" />
    But this code is reversing my month & date .See in Pic.
    I want to display only the date??How to do dat??
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width