c#: this cast is not required

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    124 posts
    Member since:
    Sep 2008

    Posted 05 Oct 2010 Link to this post

    I am getting this in a few places in my code 'this cast is not required' but he cast is required I think this maybe a bug in justcode

    Excel.Worksheet worksheet =  (Excel.Worksheet)sheets.get_Item(1);

    System.Array myvalues = (System.Array)range.Cells.Value2;

        I also am getting this:

        The type 'system.data.dataset' is defined in an assembly that is not referenced
        An imstance of type 'system.data.dataset' can not be assihned to a variable of type 'stsrem.data.dataset'

        this assembly is referenced in my application
  2. Dennis :: Dr. Code
    Dennis :: Dr. Code avatar
    22 posts

    Posted 14 Oct 2010 Link to this post

    Hi Andrew,

    Thanks for reporting. We could reproduce this issue and will fix it.

    Dennis :: Dr. Code
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top