Click here to Skip to main content
15,891,902 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have stored a file in SQLServer in VB.Net . For upload and save it in hard disk , I Fill a datatable from SQLServer table by a query containing file field , But I can't save it . who can help me ?
Posted
Comments
OriginalGriff 20-May-14 14:09pm    
What have you tried?
Mohammad Reza Nezam 20-May-14 15:20pm    
I Fill a datatable from database by execute a query . this datatable contain a file field . I haven't an idea to continue !
Vedangi 22-May-14 6:51am    
You can write data in file from datatable using loop

1 solution

I presume you have a BLOB to hold the file in your data table.

Here's a link to an example in C# that looks helpful.

how-to-save-file-in-sql-server-database-if-have-file-path
 
Share this answer
 
v2

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