Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 January 7th, 2006, 06:53 PM
Authorized User
 
Join Date: Jan 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Upload a file to sql server database

hi,

I know how to upload a file to any folder.But i dunno how to upload a file to sql database using asp.net with vb-no c# please.

Please tel me how to do it.
 
Old January 8th, 2006, 10:25 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

ASP.NET will provide you with the file stream from the upload. You can take the file stream and inject the byte array into the database. A google search for the appropriate terms should get you some samples.

-Peter
 
Old January 8th, 2006, 02:22 PM
Authorized User
 
Join Date: Jan 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did search for it.But I am getting it in C#.If you know some links,
please give me.
 
Old January 9th, 2006, 12:29 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Use this link to convert C# to VB.

http://www.developerfusion.co.uk/uti...sharptovb.aspx






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to upload image into sql server database avnishraj23 General .NET 1 December 4th, 2007 02:20 PM
To upload an excel file to to sql server. Abins ASP.NET 1.0 and 1.1 Professional 2 February 22nd, 2006 01:21 AM
upload file in server ( in folder NOT in database) virtual_manu Pro JSP 2 February 20th, 2006 08:39 AM
Upload .xls file to SQL Server bubberz ASP.NET 1.0 and 1.1 Basics 2 August 22nd, 2005 05:20 AM
Upload a Text file from a Web Client to SQL Server petercyriljones Classic ASP Professional 0 May 20th, 2005 10:26 AM





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