Results 1 to 18 of 18

Thread: [RESOLVED] Retrieve multiple records from ... where ...

Threaded View

  1. #1

    Thread Starter
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Resolved [RESOLVED] Retrieve multiple records from ... where ...

    Ola,

    I know this is basic, but my mind is totally blanc. I'm trying to retrieve all records from a table with a specific code.

    Code:
    Dim cmd As New MySqlCommand("SELECT myValueRow FROM myTable WHERE  searchRow = 'test'", myconnection)
    myreader = cm.executereader
    
    while reader.read
       debug.print(.....)  '   eeeh.... can't use executescaler, want all of them. "reader.item("myvaluerow") also returns one value
    end while
    Thanks in advance.
    Last edited by Radjesh Klauke; Jun 15th, 2012 at 07:49 AM.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width