Wrox Programmer Forums
|
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB 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 July 22nd, 2010, 10:05 AM
Registered User
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bulk insert from db1 to db2

In a windows form I want to insert some data.
How do I get selected data from tblTest into tblTest2.
Both databases are on the same server.
I need the stored procedure code and the execut code from the form

DB1
tblTest
TestID Identity Specification NO
Test nvarchar(50)
Dato datetime
Belop money

DB2
tblTest2
TestID int Identity spec yes, increment 1, seed 1
Test nvarchar(50)
Test2 nvarchar(50)
Kundenr int
Ordredato datetime
MvaGrunnlag money
Vaar_Ref nvarchar(50)

thanks
Reidar
 
Old July 25th, 2010, 06:28 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

This is an ASP.NET forum, so I am not sure I understand why you're posting a win forms question.

Also, this is a Pro forum, so some work from your side is likely to be expected before people reply here. What have you tried so far? What code works and what doesn't? Did you get any errors?

The better your question (e.g. relevant forum, relevant content, detailed problem description and demonstration of things you've already tried), the better the answers you get....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk Insert snufse SQL Server 2000 9 December 17th, 2007 07:53 AM
bulk insert hymavathy_kr VB Databases Basics 1 May 17th, 2007 07:47 AM
Bulk Insert luma SQL Server DTS 1 July 13th, 2005 01:48 AM
BULK INSERT PROBLEM ZoroAstris SQL Language 3 January 3rd, 2005 09:18 AM
Bulk insert deyakhatib SQL Server 2000 6 March 4th, 2004 04:09 AM





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