Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 4th, 2006, 08:56 AM
Registered User
Join Date: Jul 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to miketayo
Default Embedding files in Database with VB.NET


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.


Old December 7th, 2006, 05:53 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

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
Old December 7th, 2006, 06:54 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

miketayo - This is the classic ASP forum, this post would be better suited in the .net area

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding Files in Database with VB.NET miketayo Pro VB.NET 2002/2003 8 February 25th, 2008 01:16 PM
Execute VBS files via ASP.NET (VB.NET) Mario_Steiner ASP.NET 1.0 and 1.1 Professional 0 November 9th, 2005 07:49 AM
"Include files" in VB.net mike_abc Pro VB.NET 2002/2003 3 February 24th, 2005 10:44 AM
Embedding an Excel spreadsheet in a VB application James Diamond Pro VB.NET 2002/2003 3 April 21st, 2004 11:18 AM
Embedding SWF Files using FrontPage 2000 Ben Horne HTML Code Clinic 1 December 21st, 2003 01:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.