本帖最后由 lovezixue 于 2013-05-13 10:00:24 编辑

解决方案 »

  1.   

    MembershipUserWrapper  MyMemberShipUser 两者间是父子关系么~
    如果没有继承关系的类型 是不能用 as (Type)等转换的~~~
      

  2.   

    继承了
    public class MyMemberShipUser : MembershipUser
      

  3.   

    http://www.cnblogs.com/guanjinke/archive/2006/12/04/581116.html
    http://stackoverflow.com/questions/5240143/invalidcastexception-unable-to-cast-objects-of-type-base-to-type-subclassgoogle it