Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-27-2005, 08:28 PM   PM User | #1
yasiraq
New to the CF scene

 
Join Date: Aug 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
yasiraq is an unknown quantity at this point
Automate Form data entry

I want to automate the entry of hundreds of records on a web-based data entry form. I already have the data in Access and would like to avoid having to re-type
the data into individual fields on a web-based data entry form.


Any suggestions would be appreciated.


Thanks
yasiraq is offline   Reply With Quote
Old 10-27-2005, 09:20 PM   PM User | #2
kampfer
New Coder

 
Join Date: Oct 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
kampfer is an unknown quantity at this point
i think the best way would be to extract the data from the database into and xml file and then repopluate the new database with the xml file. It's fairly simple. Here is an article that should help

-john
kampfer is offline   Reply With Quote
Old 01-03-2010, 03:52 PM   PM User | #3
SouthwaterDave
Regular Coder

 
Join Date: May 2007
Location: UK
Posts: 180
Thanks: 0
Thanked 18 Times in 18 Posts
SouthwaterDave is on a distinguished road
Assuming your target database is a SQL Server database then the quickest option would probably be one of:
  • Use Access to export the data to the SQL Server database.
  • Write the contents of each table to a text file and use the SQL Server command line bcp utility to load the data into the SQL Server database.
  • Use a SQL Server management tool (the tool will depend on your version of SQL Server) to import the data directly from your Access database.
Even if you want to transform your data into a new structure it would still be best to employ one of the options above as your first step. You may then be able to use SQL to copy and transform the data into your new tables.
SouthwaterDave is offline   Reply With Quote
Old 01-12-2010, 02:37 AM   PM User | #4
NinjaTurtle
Regular Coder

 
Join Date: Jun 2002
Posts: 358
Thanks: 2
Thanked 0 Times in 0 Posts
NinjaTurtle is an unknown quantity at this point
If your source have the similar structure as ur Database, then use sqlbulkcopy, it will save the insert/import time more than 90%, let me know if u r interested.
__________________
Thanks.
=====================================================
From NinjaTurtle
++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++
NinjaTurtle is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:59 PM.


Advertisement
Log in to turn off these ads.