andyb wrote:
I'm an old school asp/vba/html programmer, and I just don't get on with ASP.NET at the moment. It doesn't seem to give you the control of the outputted html that classic asp does, what with the server controls for form input etc. it seems you have to go through a lot of hoops and control properties to do something that would take 5 seconds in classic asp.
*smiles* Yes, that is the thing, you have to unlearn all that stuff. Or rather, forget it. Completely, utterly. If you try to understand the generated HTML output, you will get very, very confused. Well, assuming you could even work it out.
You have to think of the page as a compiled form, similar to a VB program or user interface in Access, click
here to do X, click
here to do Y. The page "remembers" variable settings and so on - I am not quite sure how, but I vote witchcraft. Instead a client/server relationship, the browser is acting like a terminal window, merely rendering HTML output while all the complicated gubbins happens deep within IIS.
I still haven't got the hang of large bits of it - persisting objects across Postback is well beyond me right now (as indeed is understanding of exactly what happens on Postback and during page build) but when it does click, by God you can do some good stuff with it. Light years ahead of many other things, IMO.
OTOH, setting up a paging, sortable Gridview from a SQL database can be done in a minute in ASP.NET and well, never in ASP.
Quote:
Could you recommend any tutorial sites that are aimed at going from classic asp to ASP.NET?
I started with
this book.