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. .NET (Core and Framework)
  4. Select method of Dataset not working

Select method of Dataset not working

Scheduled Pinned Locked Moved .NET (Core and Framework)
help
1 Posts 1 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
    Nitin1981
    wrote on last edited by
    #1

    Hi! I'm using Select method to return rows from dataset. The problem is when I'm using select method to return using 1 method to return data I'm getting the result but when I'm using 2 method it does not return any value. I tried seaching on Google I could not find any answer for this. timeStamp>= '08/12/2008 03:16:39' //Returns all rows timeStamp>= '08/12/2008 03:16:39' And timeStamp<= '08/12/2008 03:16:40' //This returns 0 rows //objDSVideoFile is a dataset object 1. The following returns all rows as result MFilteredRows = objDSVideoFile.Tables("ContextImage").Select("timeStamp>= '" & intStartTime & "' ") Run time value timeStamp>= '08/12/2008 03:16:39' 2. This does not return any row MFilteredRows = objDSVideoFile.Tables("ContextImage").Select("timeStamp>= '" & intStartTime & "' " & "And timeStamp<= '" & intEndTime & "'") Run time value timeStamp>= '08/12/2008 03:16:39' And timeStamp<= '08/12/2008 03:16:40' I've the (dates) values as given below including these values. Minimum value à 2008-08-12T03:16:39.468 Maximum value à 2008-08-12T03:16:56.140 Thanks for any help

    Don't Quit

    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