473,373 Members | 1,119 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,373 software developers and data experts.

Type 'PriceCheck' is not defined

mo
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("u nitsinstock"))
%>'>
Line 32: </asp:Label>
Line 33: </ItemTemplate>


Jul 19 '05 #1
2 1295
This is a classic ASP group. Try posting in an ASP.net group, such as
microsoft.public.dotnet.framework.aspnet.

Ray at work

"mo" <m.********@nospam.qmul.ac.uk> wrote in message
news:bt**********@beta.qmul.ac.uk...
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("u nitsinstock")) %>'>
Line 32: </asp:Label>
Line 33: </ItemTemplate>

Jul 19 '05 #2
mo

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OH**************@TK2MSFTNGP12.phx.gbl...
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.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Terje Slettebų | last post by:
Hi. I'm new here, and sorry if this has been discussed before; I didn't find it searching the PHP groups. (I've also read recommendations to cross-post to the other PHP groups, but if that is...
4
by: Jari Kujansuu | last post by:
I can successfully parse XML document using SAX or DOM and I can also validate XML document against schema. Problem is that my program should deal with user-defined schemas which means that when...
4
by: Jacob Jensen | last post by:
This question has probably been asked a million time, but here it comes again. I want to learn the difference between the three type cast operators: static_cast, reinterpret_cast, dynamic_cast. A...
21
by: Nitin Bhardwaj | last post by:
Hi all, It is said that C++ is a strongly typed language and thus a type-safe language (unlike C). So how does one explain the following behaviour : int main(void) { char *p = NULL; p = "A...
8
by: Rade | last post by:
Following a discussion on another thread here... I have tried to understand what is actually standardized in C++ regarding the representing of integers (signed and unsigned) and their conversions....
13
by: dawatson833 | last post by:
I have several stored procedures with parameters that are defined with user defined data types. The time it takes to run the procedures can take 10 - 50 seconds depending on the procedure. If I...
14
by: Matt | last post by:
I want to know if "int" is a primitive type, or an object? For example, the following two approaches yield the same result. > int t1 = int.Parse(TextBox2.Text); //method 1 > int t2 =...
7
by: Michael | last post by:
Hi, I could understand the difference between class and object. However, I could find out a good definiton of type. how to understand the relaitonship between type, class, and object? Thanks! ...
70
by: garyusenet | last post by:
I'm using an example piece of code: - namespace Wintellect.Interop.Sound{ using System; using System.Runtime.InteropServices; using System.ComponentModel; sealed class Sound{ public static...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.