If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Creating an access db from an excel file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-11, 02:51
bhshiv24 bhshiv24 is offline
Registered User
 
Join Date: Mar 2011
Posts: 1
Red face Creating an access db from an excel file

Hi

I want to create an access db from an excel file using C# language.My excel file contains second column as the date and time....so I want that the access db should be created based on the second column........i,e..if second column is updated in excel file then the access db should also get updated.


Plz help me and provide me with sample code..........
plz reply soon.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-23-11, 15:39
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Err,... two questions,...

1. Why are you wanting to do what you are doing?? Why not just have an Access DB that the spreadsheet links to for data?? This would mean you are only looking at a single source of truth.

2. What has this to do with ASP?? What you probably want is come VBA code in your Excel spreadsheet to monitor the column for changes and do your database update (or something similar)
Reply With Quote
Reply

Tags
access db, c# language, conversion, excel file, importing

Thread Tools Search this Thread
Search this Thread:

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