I want to store multiple mailaddress like home address and shipping address
Sometimes addresses will be more than two. I am thinking about storing the
details as a dictionary object. Any other suggestions.
Thanks
Jay 5 1703
Store where, for how long and for what purpose ?
Tim
--
Tim Williams
Palo Alto, CA
"Jay Villa" <ja******@commu nity.nospam> wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl... I want to store multiple mailaddress like home address and shipping
address Sometimes addresses will be more than two. I am thinking about storing
the details as a dictionary object. Any other suggestions.
Thanks Jay
Storing them where? Typically, data is stored in a database, but if you're
talking about dictionary objects, can you put this in context?
Ray at work
"Jay Villa" <ja******@commu nity.nospam> wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl... I want to store multiple mailaddress like home address and shipping
address Sometimes addresses will be more than two. I am thinking about storing
the details as a dictionary object. Any other suggestions.
Thanks Jay
When I said storing it means, I have asp pages where users will be enter
multiple address on the screen, I have to gather the data(addresses) from
the asp page and finally i should update the database. Hope I am making
sense ....
Any suggestions. Hope I am making clear .....
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ef******** ******@TK2MSFTN GP15.phx.gbl... Storing them where? Typically, data is stored in a database, but if you're talking about dictionary objects, can you put this in context?
Ray at work
"Jay Villa" <ja******@commu nity.nospam> wrote in message news:u2******** ******@TK2MSFTN GP12.phx.gbl... I want to store multiple mailaddress like home address and shipping address Sometimes addresses will be more than two. I am thinking about storing the details as a dictionary object. Any other suggestions.
Thanks Jay
Jay Villa wrote: When I said storing it means, I have asp pages where users will be enter multiple address on the screen, I have to gather the data(addresses) from the asp page and finally i should update the database. Hope I am making sense ....
Any suggestions. Hope I am making clear .....
So just create the blanks and gather the info like normal. I guess I'm
failing to see where the difficulty is, specific to gathering multiple
addresses?
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
> the asp page and finally i should update the database.
Ah, you're using a database! Eureka! Now, what kind? Access, SQL Server,
MySQL, Oracle, dBase, FoxPro, Excel, ...?
Depending on what other information you are storing, the typical design is
something like this:
CREATE TABLE dbo.Customers
(
CustomerID INT PRIMARY KEY,
FirstName VARCHAR(32),
LastName VARCHAR(32),
...
)
CREATE TABLE dbo.CustomerAdd resses
(
CustomerID INT NOT NULL FOREIGN KEY
REFERENCES dbo.Customers(C ustomerID),
Address1 VARCHAR(64),
Address2 VARCHAR(64),
City VARCHAR(32),
-- State, Zip, Country, Phone
-- implementation depends on location,
-- customer base and requirements
Type TINYINT -- e.g. Home, Work, Primary, etc.
)
I've left other things out, such as indexes and constraints. But basically
this allows you to have customer data stored once, and 0, 1, or multiple
addresses stored for each customer.
A This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: deko |
last post by:
Why is $_SERVER returning multiple IP Addresses?
Actually, I'm not sure if it's $_SERVER -- or which if/else
statement -- that's the problem, but what I'm getting as a value for $visip
looks like this:
172.16.42.181, 62.138.35.94
Why am I getting more than one IP Address? Which IP is the originating IP
Address? Is there a way to get...
|
by: Philipp H. Mohr |
last post by:
Hello,
I would like to store multiple dictionaries in a file, if possible one per
line. My code currently produces a new dictionary every iteration and
passes it on to another peace of code. In order to be able to re-run some
experiments at a later date I would like to store every dictionary in the
same file.
I looked at pickel, but that...
|
by: james00_c |
last post by:
Greetings-
I need to pass multiple email addresses to a "sendto" hidden field in a
form. I need to do that because "CC" and "BCC" are not an option. One
address webmaster@xyz.com would be hardcoded and another say
formuser@xyz would be a user input. A sample of my form looks like:
<table>
<tr>
<td width="100%"> <form name="fname"...
|
by: (Pete Cresswell) |
last post by:
For better or worse, I have chosen to implement mailing addresses in a
particular application as a separate table. One Person ==> Many Addresses.
It is a database for managing school reunions and people really do have multiple
(summer/winter, for instance) mailing addresses. I'd also like to keep track
of people's defunct addresses.
...
|
by: TCB |
last post by:
How can I separate multiple email addresses entered in a single textbox, the
email addresses are separated by (,) or (;)
Thanks
| |
by: donet programmer |
last post by:
Is there a way to map multiple email addresses,
for instance emailadd1@domain.com, emailadd2@domain.com.. etc to one
email address emailadd@domain.com such that when an email is sent to
emailadd1 or emailadd2 its received in the emailadd mailbox.
I need this for testing email functionality in a .net application, has
anybody done this sort of...
|
by: Pim75 |
last post by:
Hello,
I want to store multiple records at once in a SQL database with a
For..Next instruction like the sample code below:
For counter = 0 To 100
Dim dbInsert As New SqlCommand( _
"INSERT INTO table (Field1, Field2) VALUES ('" & Field1 & "', '" &
Field2 & "')", _
myConnection)
|
by: krouxsa |
last post by:
Hi There people...
Please help me with this query.
I want to send 1 email to multiple email addresses stored in a database.
Will it be possible?
I'm using SQL Server 2005 and already set up the Database mail. I also tested the mail and it works fine.
My problem is sending mail to multiple emails recipients stored in a Database
|
by: Paartha |
last post by:
Have made a program in which is uses a username or password , but i want a database which will store multiple usernames and passwords. It will also store the data that user enters like in websites.
thanks
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |