Type 'PriceCheck' is not defined

Discussion in 'ASP General' started by mo, Jan 9, 2004.

  1. mo

    mo Guest

    I'm having trouble deciphering the following error messgae. How and where
    exactly do I define 'PriceCheck'?


    Error:

    Compiler Error Message: BC30002: Type 'PriceCheck' is not defined.

    Source Error:

    Line 29: <asp:TemplateColumn HeaderText="In Stock">
    Line 30: <ItemTemplate>
    Line 31: <asp:Label id=lblInStock runat="server" Text='<%#
    CType(Page, PriceCheck).GetInStockString(Container.DataItem("unitsinstock"))
    %>'>
    Line 32: </asp:Label>
    Line 33: </ItemTemplate>
     
    mo, Jan 9, 2004
    #1
    1. Advertisements

  2. mo

    Ray at Guest

    This is a classic ASP group. Try posting in an ASP.net group, such as
    microsoft.public.dotnet.framework.aspnet.

    Ray at work

    "mo" <> wrote in message
    news:btmkg0$lef$...
    > I'm having trouble deciphering the following error messgae. How and where
    > exactly do I define 'PriceCheck'?
    >
    >
    > Error:
    >
    > Compiler Error Message: BC30002: Type 'PriceCheck' is not defined.
    >
    > Source Error:
    >
    > Line 29: <asp:TemplateColumn HeaderText="In Stock">
    > Line 30: <ItemTemplate>
    > Line 31: <asp:Label id=lblInStock runat="server" Text='<%#
    > CType(Page,

    PriceCheck).GetInStockString(Container.DataItem("unitsinstock"))
    > %>'>
    > Line 32: </asp:Label>
    > Line 33: </ItemTemplate>
    >
    >
    >
    >
     
    Ray at, Jan 9, 2004
    #2
    1. Advertisements

  3. mo

    mo Guest

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:OHLWE$...
    > This is a classic ASP group. Try posting in an ASP.net group, such as
    > microsoft.public.dotnet.framework.aspnet.
    >
    > Ray at work



    Thank Ray. Will do.
     
    mo, Jan 9, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Natty Gur

    Re: type AssemblyTitle is not defined

    Natty Gur, Jul 13, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    678
    Hazzard
    Jul 13, 2003
  2. Kabeer
    Replies:
    6
    Views:
    3,529
    Thomas Matthews
    Aug 21, 2003
  3. Oodini
    Replies:
    1
    Views:
    2,055
    Keith Thompson
    Sep 27, 2005
  4. Replies:
    2
    Views:
    515
  5. uche
    Replies:
    4
    Views:
    1,165
    Lionel B
    Feb 18, 2007
  6. Replies:
    1
    Views:
    555
    Sylvester Hesp
    May 16, 2007
  7. Replies:
    1
    Views:
    682
    Sion Arrowsmith
    Jul 10, 2008
  8. Lyes Amazouz
    Replies:
    2
    Views:
    428
    Lyes Amazouz
    Aug 20, 2008
Loading...