Hi guys, currently I am doing uploading of excel/pdf document into MS SQL Server 2008. May I know is Varbinary the best choice to use for File Path? Cause I cant make it display as like this: C:\temp\HP_data.txt
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Becky BloomwoodPosted Feb 9, 2011, 1:38 AM
I am not sure of how to make use of' LINQ to SQL mapping and use the Binary type with the byte[] type containing your PDF file's content.'as i just started learning .net visual studio c#.
Thanks!
Suthish NairPosted Feb 9, 2011, 1:23 AM
2. You can use the VARBINARY(MAX) type in your database, create a LINQ to SQL mapping and use the Binary type with the byte[] type containing your PDF file's content.
refer a gud example