Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Updating Date in gridview

Updating Date in gridview

Scheduled Pinned Locked Moved ASP.NET
databasehelptutorialannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bishwambhar_sen
    wrote on last edited by
    #1

    Hi all I am facing problem while updating date in the gridview. My database is sqlclient. The field is in DateTime Format.I am using the updatecommand of gridview to update the date but the change is not reflecting.The date is getting captured as mm/dd/yyyy 12:00:00 AM. Please tell me how to update this field. :(

    X B 2 Replies Last reply
    0
    • B bishwambhar_sen

      Hi all I am facing problem while updating date in the gridview. My database is sqlclient. The field is in DateTime Format.I am using the updatecommand of gridview to update the date but the change is not reflecting.The date is getting captured as mm/dd/yyyy 12:00:00 AM. Please tell me how to update this field. :(

      X Offline
      X Offline
      Xmen Real
      wrote on last edited by
      #2

      are you using AJAX ?

      TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can

      1 Reply Last reply
      0
      • B bishwambhar_sen

        Hi all I am facing problem while updating date in the gridview. My database is sqlclient. The field is in DateTime Format.I am using the updatecommand of gridview to update the date but the change is not reflecting.The date is getting captured as mm/dd/yyyy 12:00:00 AM. Please tell me how to update this field. :(

        B Offline
        B Offline
        BalasubramanianK
        wrote on last edited by
        #3

        Check you control panel settings. But in your programe itself you can change the format....

        Balasubramanian K.

        B 1 Reply Last reply
        0
        • B BalasubramanianK

          Check you control panel settings. But in your programe itself you can change the format....

          Balasubramanian K.

          B Offline
          B Offline
          bishwambhar_sen
          wrote on last edited by
          #4

          Hi again Thanks for the reply.But I am not using AJAX and I dont know how to format the date so that it gets updated via gridview.Kindly help me in this regard!! :(

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups