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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Calendar Control

Calendar Control

Scheduled Pinned Locked Moved ASP.NET
databaseoraclehelp
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.
  • V Offline
    V Offline
    VaibhavTiparadi
    wrote on last edited by
    #1

    Hey hi, I want to extract a date from oracle dbase and set the calendar date acording to the date that i got from database. but i m not able to do that.pls help.

    There's never a Wronge Time To Do The Right Thing !!

    D 1 Reply Last reply
    0
    • V VaibhavTiparadi

      Hey hi, I want to extract a date from oracle dbase and set the calendar date acording to the date that i got from database. but i m not able to do that.pls help.

      There's never a Wronge Time To Do The Right Thing !!

      D Offline
      D Offline
      DineshSharma
      wrote on last edited by
      #2

      Use this ....enjoy :) MSCal.SelectedDate = YourDate;

      Dinesh Sharma Team Leader (Software Development)

      V 1 Reply Last reply
      0
      • D DineshSharma

        Use this ....enjoy :) MSCal.SelectedDate = YourDate;

        Dinesh Sharma Team Leader (Software Development)

        V Offline
        V Offline
        VaibhavTiparadi
        wrote on last edited by
        #3

        hi, Thanks for reply... i tried that solution already but its not working.. ////////////////// instdate = DateTime.Parse(instdate).Date.ToString("MM/dd/yyyy"); calInstDate.SelectedDate = DateTime.Parse(instdate); ////////////////// this is the code that i m trying...but not working..

        There's never a Wronge Time To Do The Right Thing !!

        S 1 Reply Last reply
        0
        • V VaibhavTiparadi

          hi, Thanks for reply... i tried that solution already but its not working.. ////////////////// instdate = DateTime.Parse(instdate).Date.ToString("MM/dd/yyyy"); calInstDate.SelectedDate = DateTime.Parse(instdate); ////////////////// this is the code that i m trying...but not working..

          There's never a Wronge Time To Do The Right Thing !!

          S Offline
          S Offline
          Shajeel
          wrote on last edited by
          #4

          replace calInstDate.SelectedDate = DateTime.Parse(instdate); by calInstDate.SelectedDate = DateTime.Parse(instdate).Date; and also use calInstDate.VisibleDate = DateTime.Parse(instdate); to show selected date if required.

          Regards Shajeel

          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