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. filling the datagrid (date)

filling the datagrid (date)

Scheduled Pinned Locked Moved Visual Basic
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.
  • T Offline
    T Offline
    turan1971
    wrote on last edited by
    #1

    i have a access database(oledb not sql) i have a datetimepicker and a datagrid in my form. i would like know picking my data from my database with the datetimepicker. when i choose 01/05/2003 from my datetimepicker, i would like only this data should be shown. 01/05/2003 James $5.000,15 01/05/2003 Mary $7.500,01 01/05/2003 Adam $25.99,45 Please Help,,,:) sorry for my english,,,, türkish man in forum Turan

    H 1 Reply Last reply
    0
    • T turan1971

      i have a access database(oledb not sql) i have a datetimepicker and a datagrid in my form. i would like know picking my data from my database with the datetimepicker. when i choose 01/05/2003 from my datetimepicker, i would like only this data should be shown. 01/05/2003 James $5.000,15 01/05/2003 Mary $7.500,01 01/05/2003 Adam $25.99,45 Please Help,,,:) sorry for my english,,,, türkish man in forum Turan

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

      Hi, try reading this[^]Article I wrote it as a reply to a similar Q.

      T 1 Reply Last reply
      0
      • H Hesham Amin

        Hi, try reading this[^]Article I wrote it as a reply to a similar Q.

        T Offline
        T Offline
        turan1971
        wrote on last edited by
        #3

        Thanks for your answer... I tryed this code; komutum = "SELECT * FROM tblkomisyon WHERE Tarih =#" & DateTimePicker1 & "#" but it gives this error operator() '&' is not defined for types 'String' and 'Systems.Windows.Forms.DateTimePicker' Any help please... Turan

        H 1 Reply Last reply
        0
        • T turan1971

          Thanks for your answer... I tryed this code; komutum = "SELECT * FROM tblkomisyon WHERE Tarih =#" & DateTimePicker1 & "#" but it gives this error operator() '&' is not defined for types 'String' and 'Systems.Windows.Forms.DateTimePicker' Any help please... Turan

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

          So you use VB.NET :-O that article was in VB6 , try using (+) not (&) to concatinate strings.

          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