
why write in .aspx code??!!
Doug,
You are not missing anything.
The books present ASPX with the assumption that you are not using Visual
Studio.NET. Its easier and more compact (in print) to present the script
in-line with the ASPX.
As you are seeing Visual Studio.NET simplifies coding for you.
The intent is to allow you a VB6 programmer to develop ASP.NET applications
with the same ease as you would a VB6 or VB.NET app.
Continue to drag & drop the controls, set properties, write VB.NET code in
the aspx.vb file.
Its good to know the structure of the aspx, as someday you may need to tweak
it, but generally you should not need to...
Hope this helps
Jay
Quote:
> Okay, this might seem like a dumb question, but please keep in mind that I
> came from vb6. My question is: Why write .aspx code when I can write
> everything(so I think) in aspx.vb (code behind)?! I'm trying to write web
> apps, but it's so monotonous to write the code in aspx. Especially when
I
> can write vb code (with some exceptions) in aspx.vb. Am I missing
> something? Do I not understand this correctly? What really throws me off
> is that I have several books on asp.net and all of the lessons have me
> typing out html/asp code to write a drop box and set it's properties. Why
> wouldn't I just drag and drop a control, set it's properties and then
write
> the code in the code behind? If I am wrong, or if I HAVE to write
actual
> asp.net code, please tell me why. Is there just some things that aspx.vb
> won't do that I have to write with aspx?
> Thanks,
> Doug