Using two Classes

Discussion in 'ASP' started by ASP-Novice, Dec 10, 2007.

  1. ASP-Novice

    ASP-Novice New Member

    Joined:
    Dec 8, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    When I write the code
    Code:

    Code:
    Set a = new C1
       Block of code
    Set a = Nothing
    
    Set b= new C2
       Block of code
    Set b = Nothing


    The Class C2 doesn't work. Any idea Why????

    CB
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    There can be numerous reasons for this but I will try to tell some

    1. You don't have the class
    2. You have the class but its not imported correctly.
    3. You have missed the reference.
    4. You have the using statement not correctly written.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice