Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 February 24th, 2007, 06:36 AM
Authorized User
 
Join Date: Sep 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default code behind files

Hi,

I want to break up some of the code in my asp.net files, written in asp.net 1.1 and vb.net into code behind files. Please can someone clarify when I should use the following file types :

.ascx

.ascx.vb

.vb

.aspx.vb

Thanks




 
Old February 24th, 2007, 12:04 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

.ascx files are user controls when used, ascx.vb files are the code behind file for a given user control.

.vb files are just class files and can be used as needed. (I use classes for writing helper functions and such)

.aspx.vb files are the code behind files for an aspx page.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html

Discussion:
http://p2p.wrox.com/topic.asp?TOPIC_ID=56429





Similar Threads
Thread Thread Starter Forum Replies Last Post
code for disp the list of files seemantinibhosale BOOK: Beginning ASP 3.0 1 November 11th, 2008 01:44 PM
find download code files Richard_king ASP.NET 1.0 and 1.1 Basics 0 November 3rd, 2006 05:28 AM
how to use view state in code behind files in C# ajeshss C# 4 June 20th, 2006 06:00 AM
insert word files thru code geetabajpai VB How-To 0 October 7th, 2005 04:22 AM





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