M
maya
hi,
I'm following example 'Intro7.aspx' here,
http://www.csharpfriends.com/quickstart/aspplus/doc/webformsintro.aspx#customctrls
it says on top of Acme.cs "namespace Acme" I assume this means Acme.cs
has to be in a dir called 'Acme'? (am assuming namespace is equiv to
Java's packages; is this right?)
at any rate I can't compile Acme.cs.. get errors (I'm compiling in
command line, thus: csc.exe Acme.cs.. get lots of errors, dealing mostly
with obsolete stuff..)
I'm also confused about two other things:
1) I don't see this, CodeFile="Acme.cs" anywhere in aspx.. (going by
what I see where I work, just started working here & trying to learn
..NET..)
2) Acme.cs starts with
public class Calendar : Control, IPostBackEventHandler,
IPostBackDataHandler
but Control is a class, not an interface (can u implement classes?)
thank you.
I'm following example 'Intro7.aspx' here,
http://www.csharpfriends.com/quickstart/aspplus/doc/webformsintro.aspx#customctrls
it says on top of Acme.cs "namespace Acme" I assume this means Acme.cs
has to be in a dir called 'Acme'? (am assuming namespace is equiv to
Java's packages; is this right?)
at any rate I can't compile Acme.cs.. get errors (I'm compiling in
command line, thus: csc.exe Acme.cs.. get lots of errors, dealing mostly
with obsolete stuff..)
I'm also confused about two other things:
1) I don't see this, CodeFile="Acme.cs" anywhere in aspx.. (going by
what I see where I work, just started working here & trying to learn
..NET..)
2) Acme.cs starts with
public class Calendar : Control, IPostBackEventHandler,
IPostBackDataHandler
but Control is a class, not an interface (can u implement classes?)
thank you.