Subject: Embedding files in Database with VB.NET
Posted By: miketayo Post Date: 12/4/2006 7:56:07 AM
Hi,

I am in need of some urgent help with my file transfer program

i need to embed my files in the database so that i can move my db and know that my files are ok.

i need the code to use in vb.net to be able to save the file in the db.

thanks

Reply By: dparsons Reply Date: 12/7/2006 4:53:16 PM
You need to use a parameterized query to actually insert the file;  you can use the httppostedfile control to get the byte array of the file you want to place in the database.

-------------------------
I will only tell you how to do it, not do it for you.  
Unless, of course, you want to hire me to do work for you.

^^Thats my signature
Reply By: mat41 Reply Date: 12/7/2006 5:54:33 PM
miketayo - This is the classic ASP forum, this post would be better suited in the .net area

Wind is your friend
Matt

Go to topic 53350

Return to index page 99
Return to index page 98
Return to index page 97
Return to index page 96
Return to index page 95
Return to index page 94
Return to index page 93
Return to index page 92
Return to index page 91
Return to index page 90