Microsoft
Software
Hardware
Network
Question : Downloading binary files
Hi,
I have set-up a form that inserts records into a table. One of the fields is varbinary and data is inserted into it via this code:
Dim UploadMSG As FileUpload = _
CType(DetailsView1.FindCon
trol("File
Upload1"),
FileUpload)
e.Values("Data") = UploadMSG.FileBytes
I've now added a gridview control to display the data back. How can I add a field to this that allows the file (which will be msg format) to be opened or downloaded?
Answer : Downloading binary files
Hi there
Try the following:
Dim item As ListViewItem
For Each item In lvMatchedDvid.SelectedItem
s
item.Remove()
Next
Random Solutions
Syncronize Physical Machine with Virtual Machine
How to un-freez the Properties screen
Cisco ASA, allowing Windows domain controller and exchange through two different dmz's
How to execute two queries simultaneously
SQL Select: display only the first 800 characters from line 231 in a cell
Facebook deny/allow on SonicWALL with Enhanced 4.0
Outlook 2010 and Exchange SMTP Authentication
Difference between Oracle,MySQL and Sybase
Pass-Through Authentication from Active Directory to ASP.Net
Architecting a Silverlight GoogleMaps website