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. General Programming
  3. C#
  4. Check for empty DateTimeInput in c#

Check for empty DateTimeInput in c#

Scheduled Pinned Locked Moved C#
csharpquestion
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.
  • N Offline
    N Offline
    nhanlaptrinh
    wrote on last edited by
    #1

    I have a control DateTimeInput, when I run up, then assign the current date by default, but when his days in DateTimeInput clrear then how do you know to enter the date again? I checked the way DateTimeInput.Text == "" or DateTimeInput.Value.ToString () == "" but it does not understand. Thanks to all who know you helped with.

    K OriginalGriffO 2 Replies Last reply
    0
    • N nhanlaptrinh

      I have a control DateTimeInput, when I run up, then assign the current date by default, but when his days in DateTimeInput clrear then how do you know to enter the date again? I checked the way DateTimeInput.Text == "" or DateTimeInput.Value.ToString () == "" but it does not understand. Thanks to all who know you helped with.

      K Offline
      K Offline
      kiran6053
      wrote on last edited by
      #2

      i can give two ways 1--->u can use directly system date time 2---->if u use any control for date and time see the database table variable ...if it is given as date then check the properties of u r control with code.... I hope it will help u????????///

      1 Reply Last reply
      0
      • N nhanlaptrinh

        I have a control DateTimeInput, when I run up, then assign the current date by default, but when his days in DateTimeInput clrear then how do you know to enter the date again? I checked the way DateTimeInput.Text == "" or DateTimeInput.Value.ToString () == "" but it does not understand. Thanks to all who know you helped with.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        What kind of control is it?

        Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        N 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          What kind of control is it?

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          N Offline
          N Offline
          nhanlaptrinh
          wrote on last edited by
          #4

          datetimeinput of dotnetbar.

          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