Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7746893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:23:45+00:00 2026-06-01T10:23:45+00:00

Ran into this error message while trying to select some records off a table.

  • 0

Ran into this error message while trying to select some records off a table.

My mind is shot right now..
Any ideas? Thanks!

myreader is,

Public myReader As SqlCeDataReader
Dim currentMatch(1) As String

cmd.CommandText = "SELECT schoolid,opponent " & _
                  "FROM TEAM_SCHEDULE WHERE seasonid = " & i & _
                  " AND gameid = " & 1 & " ORDER BY id"
myReader = cmd.ExecuteReader()
Do While myReader.Read()
    currentMatch(0) = myReader.GetString(0)
    currentMatch(1) = myReader.GetString(1)
Loop

error

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:23:47+00:00Added an answer on June 1, 2026 at 10:23 am

    Educated guess:

    schoolid is defined as INT, but for some reason you are using GetString instead of GetInt32 to fetch it.

    Do While myReader.Read()
        currentMatch(0) = myReader.GetInt32(0).ToString()
        currentMatch(1) = myReader.GetString(1)
    Loop
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just ran across this error message while working in C# A property or
While trying to automate testing with selenium rc I ran into this problem. I
I'm trying to use WCF Data Service with Subsonic, but ran into this error
I ran into this error when building my code with CLANG: In file included
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
I ran into unbound method error in python with this code: import random class
I ran into this error when I try to evaluate the last line below:
I'm trying to do this query INSERT INTO dbo.tbl_A_archive SELECT * FROM SERVER0031.DB.dbo.tbl_A but
I'm trying to join an additional table to my query and I ran into
I have ran into a really annoying issue which gives me this error: The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.