Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.[^]

What is the reason that the picture in the link of the error
Posted 23-Oct-11 20:42pm
Edited 23-Oct-11 20:46pm
Prerak Patel at 24-Oct-11 2:46am
Just copy paste the translated error message and description in the question.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Invalid cast exception means that an item you are trying to cast (and we can't see it) from one type to another is not convertible between the two types.
Don't post stupid little screen grabs: post the relevant code fragment into your question. That way we get to see the line causing the problem (indicate which it is, and add the actual error message) and some of the context of that line - in this case hopefully the type of the various objects involved, which is prewtty fundamental to solving your problem.
The more you help us, the more we can help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Sergey Alexandrovich Kryukov 477
1 sanket saxena 355
2 thatraja 240
3 Abhinav S 216
4 CPallini 215
0 Sergey Alexandrovich Kryukov 8,784
1 OriginalGriff 5,025
2 Peter Leow 3,839
3 Maciej Los 3,535
4 Er. Puneet Goel 3,107

Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 24 Oct 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid