.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

saving file in sql server

Posted By: priya     Posted Date: July 26, 2010    Points:2   Category :ASP.Net
do we have any option to save a file in server using .net 2008..
in my application i am uploading a files using HTML file control.and i am able to save the location in the database..but i want the file to be saved in Sql server..

I am using asp.net and C# as my code language

Responses
Author: Syed Shakeer Hussain             
Posted Date: July 27, 2010     Points: 5   
Author: BangaruBabuPureti             
Posted Date: July 27, 2010     Points: 5   
Author: Abhisek Panda             
Posted Date: July 27, 2010     Points: 5   

You can store files in database using the binary datatype. For complete steps and source code follow the below URL,

http://www.aspsnippets.com/Articles/Save-and-Retrieve-Files-from-SQL-Server-Database-using-ASP.Net.aspx



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend