Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 December 14th, 2006, 12:57 PM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default saving informations into databasw

hi all

i am having a problem in my sqlserver part, where i need your valuable advices.

i have some informations to be saved to a table(Order.dbo) on a button click.
problem is that these values have to be got from different parts.

fields
1) UserID -- this is now stored in a session variable session("UserID")

2) OrderDate -- todays date
3)ProductID --- from a table called ShoppingCart
4)ShippingCost --- in a label (lblship.text)
5) tax -- in a label
6) total -- in a label.

i know i am confusing you all.
but i dont find any other way to express my problem

is there any way to do this?
please help me to solve this.

thanks

 
Old December 14th, 2006, 03:18 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

so combine them all into a single insert statement??? Not sure I follow the question.






Similar Threads
Thread Thread Starter Forum Replies Last Post
saving informations to table sarah lee ASP.NET 1.0 and 1.1 Basics 6 December 12th, 2006 03:00 PM
EXCEL question saving a file saving the the first macupryk VS.NET 2002/2003 0 January 6th, 2005 05:33 PM
How To avoid the SAving of toolbars while saving Hari_Word Excel VBA 6 July 26th, 2004 12:13 AM
Saving davidhowell1971 Excel VBA 1 March 1st, 2004 04:02 PM
ROW-00060 I need some informations please !! WolFox Oracle ASP 1 October 12th, 2003 04:22 PM





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