|
-
May 20th, 2010, 08:44 PM
#1
Re: invalidcast exception
 Originally Posted by Art W.
Hey Everyone,
Sorry, I didn’t understand your question. I am nowhere near your level. It says that Results01 is not declared. I am going to try that. But I didn’t declare it in the other program that works?
Thanks
Art W.
Then you've done it wrong. I said:
When the exception is thrown, highlight that part of the code, right-click it, select Quick Watch and look at what the actual value is.
You need to highlight the expression you want to evaluate. In this case that is ds.Tables(0).Rows(intCurrentIndex).Item("Results01"). You need to highlight exactly that; no more, no less.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|