|
 |
aspx thread: Option Explicit
Message #1 by "Paul Litwin" <plitwin@m...> on Mon, 29 Jan 2001 19:36:54 -0000
|
|
How do I get Option Explicit to work in a ASP.NET page without using code
behind?
Thanks,
Paul
Message #2 by "dave" <support@1...> on Mon, 29 Jan 2001 12:41:23 -0800
|
|
Here is the page Directive I used on one of my .aspx pages to reference a CBF
<%@ Page explicit="true" MaintainState="FALSE" Inherits="EmailLookup" Src="cb_validEmail2.vb" strict="true" trace="false"%>
--Dave
http://www.123aspx.com
---------- Original Message ----------------------------------
From: "Paul Litwin" <plitwin@m...>
Reply-To: "ASP+" <aspx@p...>
Date: Mon, 29 Jan 2001 19:36:54 -0000
>How do I get Option Explicit to work in a ASP.NET page without using code
>behind?
>Thanks,
>Paul
>
Message #3 by "Robert Lair" <mailinglists@a...> on Mon, 29 Jan 2001 15:55:18 -0500
|
|
Hi Paul,
You will want the following page directive at the top of the page:
<%@ Page Language="VB" Explicit="true" %>
or
<%@ Page Language="VB" Explicit="false" %>
Hope this helps
Bob
----- Original Message -----
From: "Paul Litwin" <plitwin@m...>
To: "ASP+" <aspx@p...>
Sent: Monday, January 29, 2001 2:36 PM
Subject: [aspx] Option Explicit
> How do I get Option Explicit to work in a ASP.NET page without using code
> behind?
> Thanks,
> Paul
>
Message #4 by "Paul Litwin" <plitwin@m...> on Mon, 29 Jan 2001 14:30:00 -0800
|
|
And I suspect that Strict="true" does the same thing as Option Strict On?
Thanks,
Paul
=====================================
Paul Litwin
Litwin Consulting, MCW Technologies, and
DevConnections Conferences
mailto:plitwin@m...
http://www.devconnections.com
http://www.developershandbook.com
=====================================
-----Original Message-----
From: Robert Lair [mailto:mailinglists@a...]
Sent: Monday, January 29, 2001 12:55 PM
To: ASP+
Subject: [aspx] Re: Option Explicit
Hi Paul,
You will want the following page directive at the top of the page:
<%@ Page Language="VB" Explicit="true" %>
or
<%@ Page Language="VB" Explicit="false" %>
Hope this helps
Bob
----- Original Message -----
From: "Paul Litwin" <plitwin@m...>
To: "ASP+" <aspx@p...>
Sent: Monday, January 29, 2001 2:36 PM
Subject: [aspx] Option Explicit
> How do I get Option Explicit to work in a ASP.NET page without using code
> behind?
> Thanks,
> Paul
>
|
|
 |