why write in .aspx code??!! 
Author Message
 why write in .aspx code??!!

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



Mon, 07 Jun 2004 11:31:16 GMT  
 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




Tue, 08 Jun 2004 09:53:10 GMT  
 why write in .aspx code??!!
Jay,

Thank you!!!  I thought I was going nuts here trying to figure out why!!

                                                                Thanks
again,
                                                                    Doug



Quote:
> 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


> > 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




Tue, 08 Jun 2004 11:01:08 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How do I reuse code in the Code-Behind section of an ASPX page

2. No Intellisense in WebForm1.aspx but works in WebForm1.aspx.vb

3. What is the relationship between an .aspx and an aspx.vb

4. Cant not communcate between aspx and aspx.vb

5. How to open files for read/write in .aspx

6. Looking for feedback on code handling COM/ASP and .NET/ASPx Request object

7. Writing out VBS code with response.write()

8. Why error code=2 (file not found) on this code

9. why why why why

10. Why why why why?

11. Looking for some Visual Basic code if it already exist, or someone to write this code

12. why does document.write clears the timer?

 

 
Powered by phpBB® Forum Software