473,495 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Pros Advice

Hi,

I am building a web app to take customer info. shipping info and then an
order and send data to database. I was planning on using one page to take
both the customer info and shipping info by using panels and then another
page for the order. Is that the right way? Or do I create separate pages and
then pass the data from one page to another via querystrings?

What would be the recommended approach in this situation and also what are
the best ways to flow the info from one page to another and then making a
final insert to the database after the order is being placed.

Thanks

Nov 19 '05 #1
1 885
A good rule of thumb is, never load code until you need it. The reason for
this is that the mere loading of the code occupies a certain small amount of
memory, even though it is not processed. And there is processing involved as
well, such as the conditional processing to determine which code gets
executed. So, the best practice is to make these separate pages. If they
share some functionality, put it into Controls and/or classes that can be
used by both Pages.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
Hi,

I am building a web app to take customer info. shipping info and then an
order and send data to database. I was planning on using one page to take
both the customer info and shipping info by using panels and then another
page for the order. Is that the right way? Or do I create separate pages
and
then pass the data from one page to another via querystrings?

What would be the recommended approach in this situation and also what are
the best ways to flow the info from one page to another and then making a
final insert to the database after the order is being placed.

Thanks

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

112
10215
by: Andy | last post by:
Hi All! We are doing new development for SQL Server 2000 and also moving from SQL 7.0 to SQL Server 2000. What are cons and pros for using IDENTITY property as PK in SQL SERVER 2000? Please,...
77
13164
by: Tim Anderson | last post by:
I've begun to set down some pros and cons here: http://www.itwriting.com/phorum/list.php?f=6 Thought I'd mention it as it's a topic of such enduring interest :-) Tim
5
7604
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
2
2788
by: scott | last post by:
Hi, Just wondering what sort of problems and advantages people have found using stored procedures. I have an app developed in VB6 & VB.NET and our developers are starting to re-write some of the...
1
291
by: Paweł | last post by:
Hello, I am in a bit of a quandary about buying ODE 97. What are the major drawbacks or maybe merits as compared to recent Office versions (especially O2k) Would would be your advice on it?...
1
1071
by: Benny | last post by:
Hello experts, Currently I am writing a database web application using viusal studio .net with C#. Just wondering when come to the database design, what are the pros and cons about setting...
1
1270
by: Chris | last post by:
Hi, I am developing an app with the common layers APP,BLL and DAL. I am puzzled as to where I should put the DAL? I need the app to be distributed as possible as well as the DAL will be acceddes...
3
4208
by: Andrea | last post by:
Hello everyone, I'd like to know which are the main pros and cons of using XML implementation in business organizations. >From a technical perspective, I find XML powerful, but looks like it is...
0
1495
by: Scott Abel | last post by:
The Fall 2007 CM Pros Summit Team is pleased to announce a Call for Participation. This year's Fall Summit will take place at the Westin Copley Place, Monday, November 26, 2007 in conjunction with...
62
2845
by: estherschindler | last post by:
This is part of a series examining the strengths and weaknesses of various scripting languages, with particular attention to enterprise (read: big company) use. You Used Python to Write WHAT?...
0
7120
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7373
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4583
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
649
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
286
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.