Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2008, 07:15 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default FormView Question

I have recently gotten some advice that said "No professional programmer should ever use a FormView in Production". My application is a data entry application. Wouldn't the FormView control be ideal for this type of application?

Thanks

 
Old September 22nd, 2008, 07:43 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If the FormView control does what you need it to do then by all means use it.

And where did this "advice" come from? I wouldn't take any advice that isn't supplied along with some evidence.


-Peter
compiledthoughts.com
 
Old September 22nd, 2008, 10:48 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought this advice was a little suspect until I read a blog by the author of this book (http://www.amazon.com/ASP-NET-Bluepr...2098305&sr=8-1).

Reading this made me question whether or not I should use the FormView control. Can I assume from your response that in your opinion that there is no problem with using FormView control in a production application?

Do you forsee any problems with using a FormView control for all of my many data entry screens?

Thanks

 
Old September 22nd, 2008, 11:23 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Where is the blog post and what does it say?

I can't see a problem with using that control where it is appropriate, but I wouldn't as far as declaring that it would be suitable for all your data entry needs as I don't know what those are.

-Peter
compiledthoughts.com
 
Old September 24th, 2008, 07:19 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the article that I mentioned that says not to use any of the view controls.

http://professionalaspnet.com/archiv...bout-.NET.aspx

I am curious as to your thoughts on this.

Thanks

 
Old September 24th, 2008, 12:16 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just came across another article that stated the 'DataView' controls are bad. Here is that article.

http://www.realsoftwaredevelopment.c...n-performance/

 
Old September 24th, 2008, 12:27 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Sorry to get into your thread... The controls are not "bad", they are not the best thing if your site will have thousands of hits at the same time. Yes, they have overhead and the output is not good. But unless you expect your site to be massive (and that's what they are referring in those blogs) they are not a bad thing...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old September 24th, 2008, 04:38 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem joining my thread. The more the merrier. My site is an intranet site that will have many pages (at least 200). All of my pages are data entry in nature. There will never be more than 200 users at one time. So, can I assume that using a FormView for each (or most) of these data entry screens is okay?

Since the output of the FormView is not good, are there controls that where the output is better or would I be better off doing everything manually?


Thanks

 
Old September 24th, 2008, 05:23 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

so, we can asume that you will have no more that a couple of user on each page. And if this site is an intranet site, I don't think you have to worry too much about data transfer or page load (that is minimum, depends on your DB setup)..

I think you will do it more than ok.

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old September 24th, 2008, 05:39 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
FormView ChangeMode Question mikener ASP.NET 2.0 Professional 0 August 12th, 2008 09:30 AM
formview mcarol44 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 January 5th, 2008 06:44 AM
FormView and Stored Procedure question mtschindler ASP.NET 2.0 Basics 0 November 16th, 2007 05:11 PM
Formview with ObjectDataSource rturner003 ASP.NET 2.0 Professional 3 November 1st, 2006 06:17 AM
FormView Event Question melbsurfer ASP.NET 2.0 Basics 1 May 10th, 2006 12:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.