Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to copy access files from the c drive to a sql database using code only in asp.net
Posted
Comments
Simon_Whale 23-Aug-11 11:39am    
Are you on about copy data from an access database to a sql database/ files into a database?

also what database are you wanting to use?
SandraCy 25-Aug-11 5:59am    
yes i wanna copy data from an access database to an sql database

1 solution

0) Load the file as a stream
1) Convert the stream to an array of bytes
2) Save the byte array to a column (of type Image) in the database.

Google is your friend.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900