-Easier to reuse
Your next best option to reuse code that spits out dynamic HTML
would be to create a subscript. If you were to create a subscript that
does what the GridView control does, it would have more parameters
than would be worth dealing with.
-OOP benefits
What Kevin Spencer means is that you work with controls
programmatically in an OOP fashion. A control gives you events,
methods, and properties for interacting with it to make your code more
organized. A control is really an object, so using a control is using
OOP.
-IDE integration
You can work with controls graphically at design time, whether
they are user controls or server controls (assuming the server control
code has appropriate attributes and a ControlDesigner).
One who works primarily with ASP.net may take controls for granted,
but programmers of more procedural languages who understand ASP.net
controls sometimes envy you.
http://php.net/dotnet
(that's for the PHP programmers who haven't discovered the value of
those RAD frameworks for PHP)
-Michael Placentra II
On Oct 13, 11:17 am, "ThatsIT.net.au" <me@thatsit> wrote:
> OOP is not the same as using controls.
>
> I am a big believer in OOP. But I'm not sure that using controls is superior
> to spitting out html. My query is not ASP v ASP.NET it is Controls v
> spitting out html