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. Database & SysAdmin
  3. Database
  4. gridview + vb

gridview + vb

Scheduled Pinned Locked Moved Database
databasehelp
4 Posts 2 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.
  • O Offline
    O Offline
    Oga M
    wrote on last edited by
    #1

    please help me with the sql statement to display the information on the gridview according to the selected dates(stating date and ending date)when you click generate info butto oga

    A 1 Reply Last reply
    0
    • O Oga M

      please help me with the sql statement to display the information on the gridview according to the selected dates(stating date and ending date)when you click generate info butto oga

      A Offline
      A Offline
      Arun Immanuel
      wrote on last edited by
      #2

      select * from tblName where Date>=startDate and Date<endDate.

      O 1 Reply Last reply
      0
      • A Arun Immanuel

        select * from tblName where Date>=startDate and Date<endDate.

        O Offline
        O Offline
        Oga M
        wrote on last edited by
        #3

        from txtSdate and txtEdate oga

        A 1 Reply Last reply
        0
        • O Oga M

          from txtSdate and txtEdate oga

          A Offline
          A Offline
          Arun Immanuel
          wrote on last edited by
          #4

          select * from tblName where cast(Date as datetime)>=cast(txtStartdate as datetime) and cast(date as datetime)<=cast(txtEnddate as datetime) I assume Date column is also in text format.

          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