Current location: Hot Scripts Forums » Programming Languages » ASP » how to extracting data from Excel to Access in c#


how to extracting data from Excel to Access in c#

Reply
  #1 (permalink)  
Old 11-19-07, 12:44 PM
ber88 ber88 is offline
New Member
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
how to extracting data from Excel to Access in c#

Quote:
Originally Posted by cancer10 View Post
Hello All,

Can someone help me with this problem?

I have 3 colums in an excel sheet (Serial No, Name, Mobile no), I want to put all the data in the excel sheet into the database which also has 3 colums (Serial No, Name, Mobile no) with a single click of a button using ASP.



hi,
my problem is kinda similar, just that, i'm using c# for my language and working on visual studio2005.
i would need to extract 1 column, for example, 'Code' from the ms excel file,

In ms excel...

Name | Number | School
----------------------------------
Terry | 1234J | ASchool
Tom | 7654P| CSchool


then insert the column of data into the existing ms access file below.

In ms access...

Code | num | Role
----------------------------------------------
10A | 5678Y | Player
10B | 8765R | Player
10C | 1234J | Player //number inserted into column
10D | 7654P | Player //number inserted into column



i would kindly appreciate if anyone would code me this
thanks
Reply With Quote
  #2 (permalink)  
Old 11-21-07, 06:39 PM
koncept
Guest
 
Posts: n/a
you cannot do this in pure asp or asp.net without a thirdparty component to ready .xls files. if you convert them to csv then you can do it rather easily
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to load Excel data in VB-textbox or label? Nellie Visual Basic 1 03-15-05 06:44 PM
exporting data form excel to access using ASP kumar121 ASP 0 03-28-04 02:40 PM
importing data from MS Access to Excel using ASP craigger1 ASP 1 08-05-03 03:11 PM


All times are GMT -5. The time now is 04:00 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.