Last post Mar 07, 2007 07:39 AM by firstname.lastname@example.org
Mar 06, 2007 12:18 PM|johngccfc|LINK
Just moved from vs 2003 to vs 2005 and see examples of dropping (i.e.) data sources onto webforms and using the wizard. Is this the best thing to do?
Traditionally I would always write code for my connections and data adapter commands (etc) and avoid dropping (i.e.) data adapters etc onto the forms and using the wizard.
Whats everyone using? Should I carry on coding or is this 'reduced code' the way forwards?
I appreciate that there are individual cases that merit indivual consideration, but I'm tryin to get a flavour of which direction everyone is heading.
Mar 06, 2007 02:30 PMemail@example.com|LINK
Dragging and dropping a control or datasource or adapter or anything in the design view doesn't reduce code. It just writes the code for you. The code is still there, and you can tweak it at will. For most coders the time savings means they will allow
VS to write as much of the code as possible, but it's really personal preference.
Mar 06, 2007 03:32 PM|johngccfc|LINK
Thank for your response,
Do you personally use them??
I've always resisted it as a matter of principle as I've found that editing the created code causes more trouble than its worth.
What I was most impressed with, drag & drop wise in 2005 that made me wonder, was the setting of the select, insert, etc parts of the wizard.
Have you used these?
Mar 07, 2007 07:39 AMfirstname.lastname@example.org|LINK
Like I said, it's personal preference. If you prefer to hand code everything and not use the development tools with drag and drop, that's your choice. I do both. I started coding when Notepad was the ultimate coding tool (Okay, VI), so a lot of code comes
naturally. But getting sysntax correct, speed of creating a prototype and the simple ability to accomplis more quicker makes me use the tools in the IDE when appropriate.