Click here to Skip to main content
15,919,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I Want to Upload the Database of Sqlserver 2005 or mysql on the server through code. is there any way to doing this.

Because I am working on such project in which database entry is done offline and later at the end of day the complete database is uploaded to server through one click. I have no idea of doing such upload to server.

Please Help Me.

Thanks

Rohit Sharma
Posted

if its sql server databases have you looked at replication?


SQL Server replication
 
Share this answer
 
Why not use SQLite for the database so you can just upload a file.
 
Share this answer
 
Comments
rohit_189 19-Oct-10 11:01am    
i can use sql lite but still the question is how i upload it to server through code
The advantage of SQLite is that the database is stored in a single file. You can just use ftp to upload it - there are examples of ftp code elsewhere on this site.
 
Share this answer
 

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