There is 2 ways to code ASPX page.
1. When code C# for example is embedded into ASPX page. That way when you move your application you need only move the ASPX file. And there is no recompiling ( visible). ASP.NET will recompile page for you.
2. Using codebehind. This is the only way Visual Studio supports. But then it creates 2 files ASPX page and C# file which has to be compiled into DLL. Then everytime you change the C# file you need to recompile it. And then move new DLL.
I found it more convenient to keep all code in the ASPX page for small projects.
George
My Site - Body Jewelry
"vbMark" <no@email.com> wrote in message news:Xn************************@130.133.1.4...
Okay, that works fine. But I don't understand what you mean by this:
"Also you might want to move all code into ASPX page to avoid having to
move DLL and ASPX."
Thanks.
"George" <no****@hotmail.com> wrote in
news:u$*************@TK2MSFTNGP10.phx.gbl:
Just do it the regular way
Then manually remove all HTML except <%Page%> directive.
Also you might want to move all code into ASPX page to avoid having to
move DLL and ASPX.
George
My Site - Body Jewelry
"vbMark" <no@email.com> wrote in message
news:Xn************************@130.133.1.4... Hi there,
I need to create an asp page using ASP.NET that does not have an
interface but only accepts URL Query Strings.
When starting a new project what template should I use?
Thanks!