Last post Jan 30, 2007 03:00 AM by OWEN ZHANG
Jan 29, 2007 10:10 PM|OWEN ZHANG|LINK
What's mean here of "Namespace='ClubSite'"? Does it express clubsite.css file?
Anybody help to explain it? Thanks a lot!
In additional, would you please what is the different between "Namespace" and "Assembly"?
Jan 30, 2007 12:28 AM|CSharpSean|LINK
A Namespace is pretty much a library(collection) of related classes. For examples,
MyStore is a NameSpace | CreditCard is a Class | ProcessCar & InsertRecord are methods.
An Assembly is a compiled library, usually in .dll (dynamic link libraries) formats.
Design Guide Lines
Jan 30, 2007 01:20 AM|OWEN ZHANG|LINK
Thanks a lot!
Could you also explain "@ Register TagPrefix="Club" Namespace="ClubSite"" in the file of "News_Edit.aspx".
My directory is D:\WebDeveloper\ClubWebSite1.
I tried to find that the ClubSite is a reference to those class under the directory App_Code, But I want to know where declared the namespace "ClubSite".
Jan 30, 2007 01:36 AM|CSharpSean|LINK
In the App_Code directory, a few source files (.cs) are part of the ClubSite namespace. For example, in the TimePicker.cs the namespace is declared at the very top of the class.
In this page, the ClubSite Namespace is used to reference the RolloverButtons.cs.
Do this, take that line out and Build the Page and take notice to the errors generated. Them are the places in which that namespace is used.
Hope this helps.
Jan 30, 2007 03:00 AM|OWEN ZHANG|LINK