Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   MCSD (http://www.velocityreviews.com/forums/f26-mcsd.html)
-   -   Help with 70-315 and Kalani Step-by-Step Example (http://www.velocityreviews.com/forums/t44405-help-with-70-315-and-kalani-step-by-step-example.html)

Derek M. A. Lee-Wo 07-12-2004 06:23 PM

Help with 70-315 and Kalani Step-by-Step Example
 
I have just started studying for 70-315 using the Kalani book. In trying
the 1.7 Step-by-Step example, I found that I can't get the code to work as
he has it.

The example uses:

<%@ Page Language="C#" Inherits="Temperature.TemperatureCB"
Src="TemperatureCB.cs" %>

which is supposed to use a code-behind cs file WITHOUT precompilation.

When I try to view the page I get

Compiler Error Message: CS1595: 'Temperature.TemperatureCB' is defined in
multiple places; using definition from

If I remove the "Src" from the Page directive, it works fine.

Kalani's example of the code-behind WITH precompilation has me remove the
"Src" and compile the cs file manually, although with Visual Studio, I
didn't need to do that.

Am I getting confused here? Did I do something wrong? Could his examples
be for ASP 1.0 whereas I'm using ASP 1.1?

Derek




Raja 07-13-2004 01:05 PM

Help with 70-315 and Kalani Step-by-Step Example
 

Check out for errata @
http://www.techcontent.com/TG70315.htm

- Raja.

>-----Original Message-----
>I have just started studying for 70-315 using the Kalani

book. In trying
>the 1.7 Step-by-Step example, I found that I can't get

the code to work as
>he has it.
>
>The example uses:
>
> <%@ Page Language="C#"

Inherits="Temperature.TemperatureCB"
>Src="TemperatureCB.cs" %>
>
>which is supposed to use a code-behind cs file WITHOUT

precompilation.
>
>When I try to view the page I get
>
>Compiler Error Message:

CS1595: 'Temperature.TemperatureCB' is defined in
>multiple places; using definition from
>
>If I remove the "Src" from the Page directive, it works

fine.
>
>Kalani's example of the code-behind WITH precompilation

has me remove the
>"Src" and compile the cs file manually, although with

Visual Studio, I
>didn't need to do that.
>
>Am I getting confused here? Did I do something wrong?

Could his examples
>be for ASP 1.0 whereas I'm using ASP 1.1?
>
>Derek
>
>
>
>.
>



All times are GMT. The time now is 01:30 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57