Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 31st, 2006, 03:29 AM
Authorized User
 
Join Date: Jul 2006
Location: Mumbai, , India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Module

Hi,
In ASP.NET 1.1
I create module in which i keep all the Global variables which are accssed from any form and i keep some procedure also e.g. to clear text box, enable disable etc.
and all this works fine.

-------- My Question is that
How can create Module in ASP.NET 2.0 where i can create Global Variable and where i can keep my repeatitive code etc.

pls help me.
Thanks,

 
Old September 1st, 2006, 12:26 AM
Friend of Wrox
 
Join Date: Feb 2006
Location: , , USA.
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Everything in the app_code directory, which is one of the ASP.NET 2.0 "special" directories, is global to your application. So you can declare your classes there and use them throughout the application.

Neil Timmerman
Programmer
Veris Consulting




Similar Threads
Thread Thread Starter Forum Replies Last Post
module umeshtheone Beginning VB 6 2 May 17th, 2007 05:48 AM
module umeshtheone VB Databases Basics 1 May 14th, 2007 01:41 PM
new module FT BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 March 15th, 2007 06:06 AM
module? flora8 Access VBA 2 September 7th, 2006 11:10 AM
Module / Query Help mmcdonal Access VBA 1 November 30th, 2004 01:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.