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. Visual Basic
  4. Gathering Data between 2 dates

Gathering Data between 2 dates

Scheduled Pinned Locked Moved Visual Basic
cssdatabasehelpquestion
5 Posts 4 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Friends, I am very new to programming and have started with a new project which consist of a form which has 2 calander controls. I wanted to know how can I fetch data that was inputed into a database between two dates and show it into a grid. the date selection is dynamic. Any help will be appreicated.

    D H 2 Replies Last reply
    0
    • A Anonymous

      Friends, I am very new to programming and have started with a new project which consist of a form which has 2 calander controls. I wanted to know how can I fetch data that was inputed into a database between two dates and show it into a grid. the date selection is dynamic. Any help will be appreicated.

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

      look , when the data (date) is inside the database then u cant fetch it which lies between two dates. 1) first take the first calendar control of the form in one variable. 2) take the second calendar control date of the form in 2nd variable. 3) fetch the date from the database by binding it with a variable using a SELECT query and then match the third variable with the above 1st and 2nd variable and see if it lies between two the only display it. --bye

      1 Reply Last reply
      0
      • A Anonymous

        Friends, I am very new to programming and have started with a new project which consist of a form which has 2 calander controls. I wanted to know how can I fetch data that was inputed into a database between two dates and show it into a grid. the date selection is dynamic. Any help will be appreicated.

        H Offline
        H Offline
        Hesham Amin
        wrote on last edited by
        #3

        Hi.. I posted this article as a reply to your answer .. it also can help ather beginners.. click hte link to view the article with source code..

        P 1 Reply Last reply
        0
        • H Hesham Amin

          Hi.. I posted this article as a reply to your answer .. it also can help ather beginners.. click hte link to view the article with source code..

          P Offline
          P Offline
          pchari
          wrote on last edited by
          #4

          Hello HSPC Thanks for the link to your article , I will work on it , Incase i encounter any problems , would you be able to assist me. Thank you Pras

          H 1 Reply Last reply
          0
          • P pchari

            Hello HSPC Thanks for the link to your article , I will work on it , Incase i encounter any problems , would you be able to assist me. Thank you Pras

            H Offline
            H Offline
            Hesham Amin
            wrote on last edited by
            #5

            sure.. if I have the time and the enough knoledge :) please send any comments you think about the article and rate it..

            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